home *** CD-ROM | disk | FTP | other *** search
/ The EduCorp CD Sampler / EduCorpCD-Sampler-1991.iso / Sample Images / Backgrounds Demo / Backgrounds Demo.rsrc / bin.rsrc_CODE_101_Main.txt < prev    next >
Text File  |  1991-02-05  |  187KB  |  3,386 lines

  1. # near model CODE resource
  2. # jump table entries: 0-90 (91 of them)
  3. 00000000  301F                     move.w     D0, [A7]+
  4. 00000002  E548                     lsl        D0.w, 2
  5. 00000004  41FA 0006                lea.l      A0, [PC + 0x6 /* 0000000C, value 0x4EFA00AA */]
  6. 00000008  4EF0 0000                jmp        [A0 + D0.w]
  7. 0000000C  4EFA 00AA                jmp        [PC + 0xAA /* 000000B8 */]
  8. 00000010  4EFA 079E                jmp        [PC + 0x79E /* 000007B0 */]
  9. 00000014  4EED 0652                jmp        [A5 + 0x652 /* export_198 */]
  10. 00000018  4EED 0632                jmp        [A5 + 0x632 /* export_194 */]
  11. 0000001C  4EFA 06C8                jmp        [PC + 0x6C8 /* 000006E6 */]
  12. 00000020  4EED 062A                jmp        [A5 + 0x62A /* export_193 */]
  13. 00000024  4EED 0642                jmp        [A5 + 0x642 /* export_196 */]
  14. 00000028  4EED 0612                jmp        [A5 + 0x612 /* export_190 */]
  15. 0000002C  4EED 060A                jmp        [A5 + 0x60A /* export_189 */]
  16. 00000030  4EED 05BA                jmp        [A5 + 0x5BA /* export_179 */]
  17. 00000034  4EED 0A2A                jmp        [A5 + 0xA2A /* export_321 */]
  18. 00000038  4EFA 007E                jmp        [PC + 0x7E /* 000000B8 */]
  19. 0000003C  4EED 0622                jmp        [A5 + 0x622 /* export_192 */]
  20. 00000040  4EED 061A                jmp        [A5 + 0x61A /* export_191 */]
  21. 00000044  4EED 063A                jmp        [A5 + 0x63A /* export_195 */]
  22. 00000048  4EED 057A                jmp        [A5 + 0x57A /* export_171 */]
  23. 0000004C  4EED 03A2                jmp        [A5 + 0x3A2 /* export_112 */]
  24. 00000050  4EFA 05C6                jmp        [PC + 0x5C6 /* 00000618 */]
  25. 00000054  4EFA 06C0                jmp        [PC + 0x6C0 /* 00000716 */]
  26. 00000058  4EED 064A                jmp        [A5 + 0x64A /* export_197 */]
  27. 0000005C  4EED 05FA                jmp        [A5 + 0x5FA /* export_187 */]
  28. 00000060  4EED 0592                jmp        [A5 + 0x592 /* export_174 */]
  29. 00000064  4EFA 071C                jmp        [PC + 0x71C /* 00000782 */]
  30. 00000068  4EED 059A                jmp        [A5 + 0x59A /* export_175 */]
  31. 0000006C  4EED 03CA                jmp        [A5 + 0x3CA /* export_117 */]
  32. 00000070  4EED 03E2                jmp        [A5 + 0x3E2 /* export_120 */]
  33. 00000074  4EFA 005C                jmp        [PC + 0x5C /* 000000D2 */]
  34. 00000078  4EED 0A82                jmp        [A5 + 0xA82 /* export_332 */]
  35. 0000007C  4EED 0C92                jmp        [A5 + 0xC92 /* export_398 */]
  36. 00000080  4EED 05C2                jmp        [A5 + 0x5C2 /* export_180 */]
  37. 00000084  4EED 0C9A                jmp        [A5 + 0xC9A /* export_399 */]
  38. 00000088  4EF8 0000                jmp        [0x00000000 /* __m68k_reset_stack__ */]
  39. 0000008C  4EF8 0000                jmp        [0x00000000 /* __m68k_reset_stack__ */]
  40. 00000090  4EED 04A2                jmp        [A5 + 0x4A2 /* export_144 */]
  41. 00000094  4EED 05D2                jmp        [A5 + 0x5D2 /* export_182 */]
  42. 00000098  4EED 05E2                jmp        [A5 + 0x5E2 /* export_184 */]
  43. 0000009C  4EED 038A                jmp        [A5 + 0x38A /* export_109 */]
  44. 000000A0  4EED 05EA                jmp        [A5 + 0x5EA /* export_185 */]
  45. 000000A4  4EED 05F2                jmp        [A5 + 0x5F2 /* export_186 */]
  46. 000000A8  4EED 03B2                jmp        [A5 + 0x3B2 /* export_114 */]
  47. 000000AC  4EED 054A                jmp        [A5 + 0x54A /* export_165 */]
  48. 000000B0  4EFA 06FE                jmp        [PC + 0x6FE /* 000007B0 */]
  49. 000000B4  4EFA 071C                jmp        [PC + 0x71C /* 000007D2 */]
  50. label000000B8:
  51. 000000B8  487A 0004                pea.l      [PC + 0x4 /* 000000BE, value 0x12544472, pstring "TDriverEntry: Null" */]
  52. 000000BC  ABFF                     syscall    DebugStr
  53. 000000BE  1254                     movea.b    A1, [A4]
  54. 000000C0  4472 6976                neg.w      <<invalid full ext with IS == 1 and I/IS == 6>>
  55. 000000C4  6572                     bcs        +0x74 /* 00000138 */
  56. 000000C6  456E 7472                chk.w      D2, [A6 + 0x7472]
  57. 000000CA  793A                     moveq.l    D4, 0x3A
  58. 000000CC  204E                     movea.l    A0, A6
  59. 000000CE  756C                     moveq.l    D2, 0x6C
  60. 000000D0  6C00 487A                bge        +0x487C /* 0000494C */
  61. // begin alternate branch 000000D2-000000D8
  62. label000000D2:
  63. 000000D2  487A 0004                pea.l      [PC + 0x4 /* 000000D8, value 0x1A544472, pstring "TDriverEntry: SaveAnimport" */]
  64. 000000D6  ABFF                     syscall    DebugStr
  65. // end alternate branch 000000D2-000000D8
  66. label000000D2: // (misaligned)
  67. 000000D4  0004 ABFF                ori.b      D4, 0xFF
  68. 000000D8  1A54                     movea.b    A5, [A4]
  69. 000000DA  4472 6976                neg.w      <<invalid full ext with IS == 1 and I/IS == 6>>
  70. 000000DE  6572                     bcs        +0x74 /* 00000152 */
  71. 000000E0  456E 7472                chk.w      D2, [A6 + 0x7472]
  72. 000000E4  793A                     moveq.l    D4, 0x3A
  73. 000000E6  2053                     movea.l    A0, [A3]
  74. 000000E8  6176                     bsr        +0x78 /* 00000160 */
  75. 000000EA  6541                     bcs        +0x43 /* 0000012D */
  76. 000000EC  6E69                     bgt        +0x6B /* 00000157 */
  77. 000000EE  6D70                     blt        +0x72 /* 00000160 */
  78. 000000F0  6F72                     ble        +0x74 /* 00000164 */
  79. 000000F2  7400                     moveq.l    D2, 0x00
  80. fn000000F4:
  81. 000000F4  4E56 FFF0                link       A6, -0x0010
  82. 000000F8  48E7 0718                movem.l    -[A7], D5,D6,D7,A3,A4
  83. 000000FC  2C2E 0008                move.l     D6, [A6 + 0x8]
  84. 00000100  42A7                     clr.l      -[A7]
  85. 00000102  2F3A 00A6                move.l     -[A7], [PC + 0xA6 /* 000001AA, value 0x434F4445 'CODE', cstring "CODENV" */]
  86. 00000106  3F3C 0064                move.w     -[A7], 0x64 /* 'd' */
  87. 0000010A  A9A0                     syscall    GetResource
  88. 0000010C  265F                     movea.l    A3, [A7]+
  89. 0000010E  200B                     move.l     D0, A3
  90. 00000110  6606                     bne        +0x8 /* 00000118 */
  91. 00000112  487A 0082                pea.l      [PC + 0x82 /* 00000196, value 0x12416C6C, pstring "AllocA5: No code 0" */]
  92. 00000116  ABFF                     syscall    DebugStr
  93. label00000118:
  94. 00000118  4EBA 0EC2                jsr        [PC + 0xEC2 /* 00000FDC */]
  95. 0000011C  2E00                     move.l     D7, D0
  96. 0000011E  42A7                     clr.l      -[A7]
  97. 00000120  2053                     movea.l    A0, [A3]
  98. 00000122  2028 0008                move.l     D0, [A0 + 0x8]
  99. 00000126  D087                     add.l      D0, D7
  100. 00000128  2F00                     move.l     -[A7], D0
  101. 0000012A  4EBA 120C                jsr        [PC + 0x120C /* 00001338 */]
  102. 0000012E  285F                     movea.l    A4, [A7]+
  103. 00000130  2F0C                     move.l     -[A7], A4
  104. 00000132  4EBA 0FCC                jsr        [PC + 0xFCC /* 00001100 */]
  105. 00000136  2F0C                     move.l     -[A7], A4
  106. label00000138:
  107. 00000138  4EBA 1234                jsr        [PC + 0x1234 /* 0000136E */]
  108. 0000013C  2007                     move.l     D0, D7
  109. 0000013E  D094                     add.l      D0, [A4]
  110. 00000140  7220                     moveq.l    D1, 0x20
  111. 00000142  9081                     sub.l      D0, D1
  112. 00000144  2F00                     move.l     -[A7], D0
  113. 00000146  4EBA 0EA0                jsr        [PC + 0xEA0 /* 00000FE8 */]
  114. 0000014A  588F                     addq.l     A7, 4
  115. 0000014C  2053                     movea.l    A0, [A3]
  116. 0000014E  4868 0010                pea.l      [A0 + 0x10]
  117. label00000152:
  118. 00000152  2007                     move.l     D0, D7
  119. 00000154  D094                     add.l      D0, [A4]
  120. 00000156  2F00                     move.l     -[A7], D0
  121. 00000158  2053                     movea.l    A0, [A3]
  122. 0000015A  2F28 0008                move.l     -[A7], [A0 + 0x8]
  123. 0000015E  4EBA 1236                jsr        [PC + 0x1236 /* 00001396 */]
  124. // begin alternate branch 00000160-00000164
  125. fn00000160:
  126. 00000160  1236 2046                move.b     D1, [A6 + D2.w + 0x46]
  127. // end alternate branch 00000160-00000164
  128. fn00000160: // (misaligned)
  129. 00000162  2046                     movea.l    A0, D6
  130. label00000164:
  131. 00000164  214C 0004                move.l     [A0 + 0x4], A4
  132. 00000168  2007                     move.l     D0, D7
  133. 0000016A  D094                     add.l      D0, [A4]
  134. 0000016C  7220                     moveq.l    D1, 0x20
  135. 0000016E  9081                     sub.l      D0, D1
  136. 00000170  2046                     movea.l    A0, D6
  137. 00000172  2080                     move.l     [A0], D0
  138. 00000174  42A7                     clr.l      -[A7]
  139. 00000176  2046                     movea.l    A0, D6
  140. 00000178  2F10                     move.l     -[A7], [A0]
  141. 0000017A  2F4D 0004                move.l     [A7 + 0x4], A5
  142. 0000017E  2A5F                     movea.l    A5, [A7]+
  143. 00000180  2A1F                     move.l     D5, [A7]+
  144. 00000182  4CDF 18E0                movem.l    D5,D6,D7,A3,A4, [A7]+
  145. 00000186  4E5E                     unlink     A6
  146. 00000188  2E9F                     move.l     [A7], [A7]+
  147. 0000018A  4E75                     rts
  148. 0000018C  8741 4C4C                pack       D3, D1, 0x4C4C
  149. 00000190  4F43                     chk.w      D7, D3
  150. 00000192  4135 0018                .invalid   0, [A5 + D0.w + 0x18] // invalid opcode 4 with b == 4
  151. 00000196  1241                     movea.b    A1, D1
  152. 00000198  6C6C                     bge        +0x6E /* 00000206 */
  153. 0000019A  6F63                     ble        +0x65 /* 000001FF */
  154. 0000019C  4135 3A20                .invalid   0, [A5 + D3 * 2 + 0x20] // invalid opcode 4 with b == 4
  155. 000001A0  4E6F                     move       A7, USP
  156. 000001A2  2063                     movea.l    A0, -[A3]
  157. 000001A4  6F64                     ble        +0x66 /* 0000020A */
  158. 000001A6  6520                     bcs        +0x22 /* 000001C8 */
  159. 000001A8  3000                     move.w     D0, D0
  160. 000001AA  434F                     chk.w      D1, A7
  161. 000001AC  4445                     neg.w      D5
  162. fn000001AE:
  163. 000001AE  4E56 0000                link       A6, 0
  164. 000001B2  206E 0008                movea.l    A0, [A6 + 0x8]
  165. 000001B6  2F28 0004                move.l     -[A7], [A0 + 0x4]
  166. 000001BA  4EBA 1188                jsr        [PC + 0x1188 /* 00001344 */]
  167. 000001BE  4E5E                     unlink     A6
  168. 000001C0  2E9F                     move.l     [A7], [A7]+
  169. 000001C2  4E75                     rts
  170. 000001C4  8944 4953                pack       D4, D4, 0x4953
  171. label000001C8:
  172. 000001C8  504F                     addq.w     A7, 8
  173. 000001CA  5345                     subq.w     D5, 1
  174. 000001CC  4135 0000                .invalid   0, [A5 + D0.w] // invalid opcode 4 with b == 4
  175. 000001D0  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  176. 000001D4  6B14                     bmi        +0x16 /* 000001EA */
  177. 000001D6  303C A8D7                move.w     D0, 0xA8D7
  178. 000001DA  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  179. 000001DC  2248                     movea.l    A1, A0
  180. 000001DE  303C A89F                move.w     D0, 0xA89F
  181. 000001E2  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  182. 000001E4  B3C8                     cmpa.l     A1, A0
  183. 000001E6  6702                     beq        +0x4 /* 000001EA */
  184. 000001E8  4ED1                     jmp        [A1]
  185. label000001EA:
  186. 000001EA  4E56 FFE2                link       A6, -0x001E
  187. 000001EE  48E7 1F3C                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A5
  188. 000001F2  42AE FFF4                clr.l      [A6 - 0xC]
  189. 000001F6  426E 0010                clr.w      [A6 + 0x10]
  190. 000001FA  206E 000C                movea.l    A0, [A6 + 0xC]
  191. 000001FE  2450                     movea.l    A2, [A0]
  192. 00000200  7000                     moveq.l    D0, 0x00
  193. 00000202  3012                     move.w     D0, [A2]
  194. 00000204  2D40 FFE6                move.l     [A6 - 0x1A], D0
  195. // begin alternate branch 00000206-00000208
  196. label00000206:
  197. 00000206  FFE6                     .invalid   <<F/7/7>>
  198. // end alternate branch 00000206-00000208
  199. label00000206: // (misaligned)
  200. 00000208  226E 0008                movea.l    A1, [A6 + 0x8]
  201. // begin alternate branch 0000020A-00000212
  202. label0000020A:
  203. 0000020A  0008 3D69                ori.b      A0, 0x69 /* 'i' */
  204. 0000020E  0004 FFF0                ori.b      D4, 0xF0
  205. // end alternate branch 0000020A-00000212
  206. label0000020A: // (misaligned)
  207. 0000020C  3D69 0004 FFF0           move.w     [A6 - 0x10], [A1 + 0x4]
  208. 00000212  2429 0006                move.l     D2, [A1 + 0x6]
  209. 00000216  3029 000C                move.w     D0, [A1 + 0xC]
  210. 0000021A  9042                     sub.w      D0, D2
  211. 0000021C  6F00 023E                ble        +0x240 /* 0000045C */
  212. 00000220  48C0                     ext.l      D0
  213. 00000222  2800                     move.l     D4, D0
  214. 00000224  D884                     add.l      D4, D4
  215. 00000226  5884                     addq.l     D4, 4
  216. 00000228  2D44 FFE2                move.l     [A6 - 0x1E], D4
  217. 0000022C  7E20                     moveq.l    D7, 0x20
  218. 0000022E  80C7                     divu.w     D0, D7
  219. 00000230  2600                     move.l     D3, D0
  220. 00000232  4843                     swap.w     D3
  221. 00000234  72FF                     moveq.l    D1, 0xFFFFFFFF
  222. 00000236  4A43                     tst.w      D3
  223. 00000238  6706                     beq        +0x8 /* 00000240 */
  224. 0000023A  5240                     addq.w     D0, 1
  225. 0000023C  9E43                     sub.w      D7, D3
  226. 0000023E  EFA1                     asl        D1, D7
  227. label00000240:
  228. 00000240  2D41 FFF8                move.l     [A6 - 0x8], D1
  229. 00000244  48C0                     ext.l      D0
  230. 00000246  2D40 FFFC                move.l     [A6 - 0x4], D0
  231. 0000024A  E580                     asl        D0, 2
  232. 0000024C  A322                     syscall    NewHandleClear, flags=3
  233. 0000024E  6600 0208                bne        +0x20A /* 00000458 */
  234. 00000252  2D48 FFF4                move.l     [A6 - 0xC], A0
  235. 00000256  2602                     move.l     D3, D2
  236. 00000258  4843                     swap.w     D3
  237. 0000025A  3029 000A                move.w     D0, [A1 + 0xA]
  238. 0000025E  9043                     sub.w      D0, D3
  239. 00000260  6F00 01FA                ble        +0x1FC /* 0000045C */
  240. 00000264  3D40 FFF2                move.w     [A6 - 0xE], D0
  241. 00000268  2851                     movea.l    A4, [A1]
  242. 0000026A  3E3C 000A                move.w     D7, 0xA /* '\n' */
  243. label0000026E:
  244. 0000026E  246E 000C                movea.l    A2, [A6 + 0xC]
  245. 00000272  2452                     movea.l    A2, [A2]
  246. label00000274:
  247. 00000274  4BF2 7000                lea.l      A5, [A2 + D7.w]
  248. 00000278  222E FFE6                move.l     D1, [A6 - 0x1A]
  249. 0000027C  9247                     sub.w      D1, D7
  250. 0000027E  B2AE FFE2                cmp.l      D1, [A6 - 0x1E]
  251. 00000282  6C18                     bge        +0x1A /* 0000029C */
  252. 00000284  202E FFE6                move.l     D0, [A6 - 0x1A]
  253. 00000288  D0AE FFE2                add.l      D0, [A6 - 0x1E]
  254. 0000028C  2D40 FFE6                move.l     [A6 - 0x1A], D0
  255. 00000290  206E 000C                movea.l    A0, [A6 + 0xC]
  256. 00000294  A024                     syscall    SetHandleSize
  257. 00000296  6600 01C0                bne        +0x1C2 /* 00000458 */
  258. 0000029A  60D2                     bra        -0x2C /* 0000026E */
  259. label0000029C:
  260. 0000029C  3802                     move.w     D4, D2
  261. 0000029E  7C00                     moveq.l    D6, 0x00
  262. 000002A0  224C                     movea.l    A1, A4
  263. 000002A2  2A2E FFFC                move.l     D5, [A6 - 0x4]
  264. 000002A6  266E FFF4                movea.l    A3, [A6 - 0xC]
  265. 000002AA  2653                     movea.l    A3, [A3]
  266. 000002AC  3003                     move.w     D0, D3
  267. 000002AE  6100 014C                bsr        +0x14E /* 000003FC */
  268. 000002B2  3D47 FFEE                move.w     [A6 - 0x12], D7
  269. 000002B6  6054                     bra        +0x56 /* 0000030C */
  270. label000002B8:
  271. 000002B8  2019                     move.l     D0, [A1]+
  272. label000002BA:
  273. 000002BA  2213                     move.l     D1, [A3]
  274. 000002BC  B181                     xor.l      D1, D0
  275. 000002BE  6612                     bne        +0x14 /* 000002D2 */
  276. 000002C0  4A06                     tst.b      D6
  277. 000002C2  6706                     beq        +0x8 /* 000002CA */
  278. 000002C4  6100 00F6                bsr        +0xF8 /* 000003BC */
  279. 000002C8  7C00                     moveq.l    D6, 0x00
  280. label000002CA:
  281. 000002CA  0644 0020                addi.w     D4, 0x20 /* ' ' */
  282. 000002CE  584B                     addq.w     A3, 4
  283. 000002D0  603A                     bra        +0x3C /* 0000030C */
  284. label000002D2:
  285. 000002D2  26C0                     move.l     [A3]+, D0
  286. 000002D4  7E03                     moveq.l    D7, 0x03
  287. 000002D6  7000                     moveq.l    D0, 0x00
  288. label000002D8:
  289. 000002D8  E199                     rol        D1, 8
  290. 000002DA  4A01                     tst.b      D1
  291. 000002DC  6610                     bne        +0x12 /* 000002EE */
  292. 000002DE  4A06                     tst.b      D6
  293. 000002E0  660C                     bne        +0xE /* 000002EE */
  294. 000002E2  5044                     addq.w     D4, 8
  295. 000002E4  6022                     bra        +0x24 /* 00000308 */
  296. label000002E6:
  297. 000002E6  2011                     move.l     D0, [A1]
  298. 000002E8  C0AE FFF8                and.l      D0, [A6 - 0x8]
  299. 000002EC  60CC                     bra        -0x32 /* 000002BA */
  300. label000002EE:
  301. 000002EE  1001                     move.b     D0, D1
  302. 000002F0  BD00                     xor.b      D0, D6
  303. 000002F2  E808                     lsr        D0.b, 4
  304. 000002F4  D040                     add.w      D0, D0
  305. 000002F6  4EBB 0066                jsr        [PC + D0.w + 0x66]
  306. 000002FA  1001                     move.b     D0, D1
  307. 000002FC  BD00                     xor.b      D0, D6
  308. 000002FE  0240 000F                andi.w     D0, 0xF
  309. 00000302  D040                     add.w      D0, D0
  310. 00000304  4EBB 0058                jsr        [PC + D0.w + 0x58]
  311. label00000308:
  312. 00000308  51CF FFCE                dbf        D7, -0x34 /* 000002D8 */
  313. label0000030C:
  314. 0000030C  5345                     subq.w     D5, 1
  315. 0000030E  6EA8                     bgt        -0x56 /* 000002B8 */
  316. 00000310  67D4                     beq        -0x2A /* 000002E6 */
  317. 00000312  3E0D                     move.w     D7, A5
  318. 00000314  9E4A                     sub.w      D7, A2
  319. 00000316  BE6E FFEE                cmp.w      D7, [A6 - 0x12]
  320. 0000031A  673C                     beq        +0x3E /* 00000358 */
  321. 0000031C  6D00 0136                blt        +0x138 /* 00000454 */
  322. 00000320  4A06                     tst.b      D6
  323. 00000322  6706                     beq        +0x8 /* 0000032A */
  324. 00000324  6100 0096                bsr        +0x98 /* 000003BC */
  325. 00000328  5447                     addq.w     D7, 2
  326. label0000032A:
  327. 0000032A  6100 00CC                bsr        +0xCE /* 000003F8 */
  328. label0000032E:
  329. 0000032E  5243                     addq.w     D3, 1
  330. 00000330  3802                     move.w     D4, D2
  331. 00000332  D8EE FFF0                add.w      A4, [A6 - 0x10]
  332. 00000336  536E FFF2                subq.w     [A6 - 0xE], 1
  333. 0000033A  6E00 FF38                bgt        -0xC6 /* 00000274 */
  334. 0000033E  6D00 00C2                blt        +0xC4 /* 00000402 */
  335. 00000342  202E FFFC                move.l     D0, [A6 - 0x4]
  336. 00000346  E580                     asl        D0, 2
  337. 00000348  A322                     syscall    NewHandleClear, flags=3
  338. 0000034A  6600 010C                bne        +0x10E /* 00000458 */
  339. 0000034E  2D48 FFEA                move.l     [A6 - 0x16], A0
  340. 00000352  2850                     movea.l    A4, [A0]
  341. 00000354  6000 FF18                bra        -0xE6 /* 0000026E */
  342. label00000358:
  343. 00000358  558D                     subq.l     A5, 2
  344. 0000035A  5547                     subq.w     D7, 2
  345. 0000035C  60D0                     bra        -0x2E /* 0000032E */
  346. 0000035E  6020                     bra        +0x22 /* 00000380 */
  347. 00000360  6022                     bra        +0x24 /* 00000384 */
  348. 00000362  602A                     bra        +0x2C /* 0000038E */
  349. 00000364  6032                     bra        +0x34 /* 00000398 */
  350. 00000366  6038                     bra        +0x3A /* 000003A0 */
  351. 00000368  603E                     bra        +0x40 /* 000003A8 */
  352. 0000036A  6042                     bra        +0x44 /* 000003AE */
  353. 0000036C  6046                     bra        +0x48 /* 000003B4 */
  354. 0000036E  6050                     bra        +0x52 /* 000003C0 */
  355. 00000370  6056                     bra        +0x58 /* 000003C8 */
  356. 00000372  605C                     bra        +0x5E /* 000003D0 */
  357. 00000374  6062                     bra        +0x64 /* 000003D8 */
  358. 00000376  606A                     bra        +0x6C /* 000003E2 */
  359. 00000378  6070                     bra        +0x72 /* 000003EA */
  360. 0000037A  6074                     bra        +0x76 /* 000003F0 */
  361. 0000037C  613E                     bsr        +0x40 /* 000003BC */
  362. 0000037E  4606                     not.b      D6
  363. label00000380:
  364. 00000380  5844                     addq.w     D4, 4
  365. 00000382  4E75                     rts
  366. label00000384:
  367. 00000384  5644                     addq.w     D4, 3
  368. label00000386:
  369. 00000386  6134                     bsr        +0x36 /* 000003BC */
  370. 00000388  5244                     addq.w     D4, 1
  371. label0000038A:
  372. 0000038A  4606                     not.b      D6
  373. 0000038C  4E75                     rts
  374. label0000038E:
  375. 0000038E  5444                     addq.w     D4, 2
  376. 00000390  612A                     bsr        +0x2C /* 000003BC */
  377. label00000392:
  378. 00000392  6126                     bsr        +0x28 /* 000003BA */
  379. label00000394:
  380. 00000394  5244                     addq.w     D4, 1
  381. 00000396  4E75                     rts
  382. label00000398:
  383. 00000398  5444                     addq.w     D4, 2
  384. 0000039A  6120                     bsr        +0x22 /* 000003BC */
  385. 0000039C  5444                     addq.w     D4, 2
  386. 0000039E  60EA                     bra        -0x14 /* 0000038A */
  387. fn000003A0:
  388. 000003A0  6118                     bsr        +0x1A /* 000003BA */
  389. 000003A2  6116                     bsr        +0x18 /* 000003BA */
  390. label000003A4:
  391. 000003A4  5444                     addq.w     D4, 2
  392. 000003A6  4E75                     rts
  393. label000003A8:
  394. 000003A8  61F6                     bsr        -0x8 /* 000003A0 */
  395. 000003AA  5344                     subq.w     D4, 1
  396. 000003AC  60D8                     bra        -0x26 /* 00000386 */
  397. label000003AE:
  398. 000003AE  610A                     bsr        +0xC /* 000003BA */
  399. 000003B0  5244                     addq.w     D4, 1
  400. 000003B2  60DE                     bra        -0x20 /* 00000392 */
  401. label000003B4:
  402. 000003B4  6104                     bsr        +0x6 /* 000003BA */
  403. 000003B6  5644                     addq.w     D4, 3
  404. 000003B8  60D0                     bra        -0x2E /* 0000038A */
  405. fn000003BA:
  406. 000003BA  5244                     addq.w     D4, 1
  407. fn000003BC:
  408. 000003BC  3AC4                     move.w     [A5]+, D4
  409. 000003BE  4E75                     rts
  410. label000003C0:
  411. 000003C0  61FA                     bsr        -0x4 /* 000003BC */
  412. 000003C2  61F6                     bsr        -0x8 /* 000003BA */
  413. 000003C4  5644                     addq.w     D4, 3
  414. 000003C6  4E75                     rts
  415. label000003C8:
  416. 000003C8  61F2                     bsr        -0xC /* 000003BC */
  417. 000003CA  61EE                     bsr        -0x10 /* 000003BA */
  418. 000003CC  5444                     addq.w     D4, 2
  419. 000003CE  60B6                     bra        -0x48 /* 00000386 */
  420. label000003D0:
  421. 000003D0  61EA                     bsr        -0x14 /* 000003BC */
  422. 000003D2  61E6                     bsr        -0x18 /* 000003BA */
  423. 000003D4  61E4                     bsr        -0x1A /* 000003BA */
  424. 000003D6  60BA                     bra        -0x44 /* 00000392 */
  425. label000003D8:
  426. 000003D8  61E2                     bsr        -0x1C /* 000003BC */
  427. 000003DA  61DE                     bsr        -0x20 /* 000003BA */
  428. 000003DC  61DC                     bsr        -0x22 /* 000003BA */
  429. 000003DE  5444                     addq.w     D4, 2
  430. 000003E0  60A8                     bra        -0x56 /* 0000038A */
  431. fn000003E2:
  432. 000003E2  61D8                     bsr        -0x26 /* 000003BC */
  433. 000003E4  5444                     addq.w     D4, 2
  434. 000003E6  61D4                     bsr        -0x2A /* 000003BC */
  435. 000003E8  60BA                     bra        -0x44 /* 000003A4 */
  436. label000003EA:
  437. 000003EA  61F6                     bsr        -0x8 /* 000003E2 */
  438. 000003EC  5344                     subq.w     D4, 1
  439. 000003EE  6096                     bra        -0x68 /* 00000386 */
  440. label000003F0:
  441. 000003F0  61CA                     bsr        -0x34 /* 000003BC */
  442. 000003F2  5644                     addq.w     D4, 3
  443. 000003F4  61C6                     bsr        -0x38 /* 000003BC */
  444. 000003F6  609C                     bra        -0x62 /* 00000394 */
  445. fn000003F8:
  446. 000003F8  303C 7FFF                move.w     D0, 0x7FFF
  447. fn000003FC:
  448. 000003FC  3AC0                     move.w     [A5]+, D0
  449. 000003FE  5447                     addq.w     D7, 2
  450. 00000400  4E75                     rts
  451. label00000402:
  452. 00000402  206E FFEA                movea.l    A0, [A6 - 0x16]
  453. 00000406  A023                     syscall    DisposHandle/DisposeHandle
  454. 00000408  0C47 000A                cmpi.w     D7, 0xA /* '\n' */
  455. 0000040C  674E                     beq        +0x50 /* 0000045C */
  456. 0000040E  61E8                     bsr        -0x16 /* 000003F8 */
  457. 00000410  41EA 000A                lea.l      A0, [A2 + 0xA]
  458. 00000414  383C 7FFF                move.w     D4, 0x7FFF
  459. 00000418  3204                     move.w     D1, D4
  460. 0000041A  343C 8000                move.w     D2, 0x8000
  461. 0000041E  3610                     move.w     D3, [A0]
  462. 00000420  6018                     bra        +0x1A /* 0000043A */
  463. label00000422:
  464. 00000422  2248                     movea.l    A1, A0
  465. 00000424  B258                     cmp.w      D1, [A0]+
  466. 00000426  6F04                     ble        +0x6 /* 0000042C */
  467. 00000428  3228 FFFE                move.w     D1, [A0 - 0x2]
  468. label0000042C:
  469. 0000042C  B858                     cmp.w      D4, [A0]+
  470. 0000042E  66FC                     bne        -0x2 /* 0000042C */
  471. 00000430  B468 FFFC                cmp.w      D2, [A0 - 0x4]
  472. 00000434  6C04                     bge        +0x6 /* 0000043A */
  473. 00000436  3428 FFFC                move.w     D2, [A0 - 0x4]
  474. label0000043A:
  475. 0000043A  3018                     move.w     D0, [A0]+
  476. 0000043C  B044                     cmp.w      D0, D4
  477. 0000043E  66E2                     bne        -0x1C /* 00000422 */
  478. 00000440  4843                     swap.w     D3
  479. 00000442  3601                     move.w     D3, D1
  480. 00000444  3829 FFFE                move.w     D4, [A1 - 0x2]
  481. 00000448  4844                     swap.w     D4
  482. 0000044A  3802                     move.w     D4, D2
  483. 0000044C  0C47 001C                cmpi.w     D7, 0x1C
  484. 00000450  6714                     beq        +0x16 /* 00000466 */
  485. 00000452  6014                     bra        +0x16 /* 00000468 */
  486. label00000454:
  487. 00000454  303C E50C                move.w     D0, 0xE50C
  488. label00000458:
  489. 00000458  3D40 0010                move.w     [A6 + 0x10], D0
  490. label0000045C:
  491. 0000045C  206E 000C                movea.l    A0, [A6 + 0xC]
  492. 00000460  2450                     movea.l    A2, [A0]
  493. 00000462  7600                     moveq.l    D3, 0x00
  494. 00000464  7800                     moveq.l    D4, 0x00
  495. label00000466:
  496. 00000466  7E0A                     moveq.l    D7, 0x0A
  497. label00000468:
  498. 00000468  34C7                     move.w     [A2]+, D7
  499. 0000046A  24C3                     move.l     [A2]+, D3
  500. 0000046C  2484                     move.l     [A2], D4
  501. 0000046E  2007                     move.l     D0, D7
  502. 00000470  206E 000C                movea.l    A0, [A6 + 0xC]
  503. 00000474  A024                     syscall    SetHandleSize
  504. 00000476  206E FFF4                movea.l    A0, [A6 - 0xC]
  505. 0000047A  A023                     syscall    DisposHandle/DisposeHandle
  506. 0000047C  4CDF 3CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A5, [A7]+
  507. 00000480  4E5E                     unlink     A6
  508. 00000482  205F                     movea.l    A0, [A7]+
  509. 00000484  504F                     addq.w     A7, 8
  510. 00000486  4ED0                     jmp        [A0]
  511. 00000488  4E56 FEC4                link       A6, -0x013C
  512. 0000048C  48E7 0108                movem.l    -[A7], D7,A4
  513. 00000490  42A7                     clr.l      -[A7]
  514. 00000492  4EAD 0A2A                jsr        [A5 + 0xA2A /* export_321 */]
  515. 00000496  285F                     movea.l    A4, [A7]+
  516. 00000498  1D7C 0001 0010           move.b     [A6 + 0x10], 0x1
  517. 0000049E  2F3C 0001 0000           move.l     -[A7], 0x10000
  518. 000004A4  486E FFE2                pea.l      [A6 - 0x1E]
  519. 000004A8  4EBA 1322                jsr        [PC + 0x1322 /* 000017CC */]
  520. 000004AC  3E1F                     move.w     D7, [A7]+
  521. 000004AE  0C47 EA84                cmpi.w     D7, 0xEA84
  522. 000004B2  6604                     bne        +0x6 /* 000004B8 */
  523. 000004B4  426E FFE6                clr.w      [A6 - 0x1A]
  524. label000004B8:
  525. 000004B8  0C6E 0602 FFE6           cmpi.w     [A6 - 0x1A], 0x602
  526. 000004BE  5CC0                     sge        D0
  527. 000004C0  4400                     neg.b      D0
  528. 000004C2  1940 000C                move.b     [A4 + 0xC], D0
  529. 000004C6  196E FFEB 000D           move.b     [A4 + 0xD], [A6 - 0x15]
  530. 000004CC  422C 0007                clr.b      [A4 + 0x7]
  531. 000004D0  396E FFF0 070C           move.w     [A4 + 0x70C], [A6 - 0x10]
  532. 000004D6  70FE                     moveq.l    D0, 0xFFFFFFFE
  533. 000004D8  B06E FFE4                cmp.w      D0, [A6 - 0x1C]
  534. 000004DC  56C0                     sne        D0
  535. 000004DE  4400                     neg.b      D0
  536. 000004E0  1940 000E                move.b     [A4 + 0xE], D0
  537. 000004E4  422C 0A18                clr.b      [A4 + 0xA18]
  538. 000004E8  102C 000D                move.b     D0, [A4 + 0xD]
  539. 000004EC  6728                     beq        +0x2A /* 00000516 */
  540. 000004EE  42A7                     clr.l      -[A7]
  541. 000004F0  3F3C AB03                move.w     -[A7], 0xAB03
  542. 000004F4  1F3C 0001                move.b     -[A7], 0x1
  543. 000004F8  4EBA 0EB6                jsr        [PC + 0xEB6 /* 000013B0 */]
  544. 000004FC  42A7                     clr.l      -[A7]
  545. 000004FE  3F3C A89F                move.w     -[A7], 0xA89F
  546. 00000502  1F3C 0001                move.b     -[A7], 0x1
  547. 00000506  4EBA 0EA8                jsr        [PC + 0xEA8 /* 000013B0 */]
  548. 0000050A  201F                     move.l     D0, [A7]+
  549. 0000050C  B09F                     cmp.l      D0, [A7]+
  550. 0000050E  56C0                     sne        D0
  551. 00000510  4400                     neg.b      D0
  552. 00000512  1940 0A18                move.b     [A4 + 0xA18], D0
  553. label00000516:
  554. 00000516  102C 000C                move.b     D0, [A4 + 0xC]
  555. 0000051A  6612                     bne        +0x14 /* 0000052E */
  556. 0000051C  422E 0010                clr.b      [A6 + 0x10]
  557. 00000520  206E 0008                movea.l    A0, [A6 + 0x8]
  558. 00000524  4210                     clr.b      [A0]
  559. 00000526  206E 000C                movea.l    A0, [A6 + 0xC]
  560. 0000052A  30BC 0046                move.w     [A0], 0x46 /* 'F' */
  561. label0000052E:
  562. 0000052E  4CDF 1080                movem.l    D7,A4, [A7]+
  563. 00000532  4E5E                     unlink     A6
  564. 00000534  205F                     movea.l    A0, [A7]+
  565. 00000536  504F                     addq.w     A7, 8
  566. 00000538  4ED0                     jmp        [A0]
  567. fn0000053A:
  568. 0000053A  4E56 0000                link       A6, 0
  569. 0000053E  2F0C                     move.l     -[A7], A4
  570. 00000540  102D EED9                move.b     D0, [A5 - 0x1127]
  571. 00000544  6700 0094                beq        +0x96 /* 000005DA */
  572. 00000548  2F2D FC08                move.l     -[A7], [A5 - 0x3F8]
  573. 0000054C  4EAD 089A                jsr        [A5 + 0x89A /* export_271 */]
  574. 00000550  2F2D FC00                move.l     -[A7], [A5 - 0x400]
  575. 00000554  4EAD 089A                jsr        [A5 + 0x89A /* export_271 */]
  576. 00000558  4EAD 08A2                jsr        [A5 + 0x8A2 /* export_272 */]
  577. 0000055C  4EAD 0982                jsr        [A5 + 0x982 /* export_300 */]
  578. 00000560  4EAD 08AA                jsr        [A5 + 0x8AA /* export_273 */]
  579. 00000564  2F2D FC0C                move.l     -[A7], [A5 - 0x3F4]
  580. 00000568  4EAD 07AA                jsr        [A5 + 0x7AA /* export_241 */]
  581. 0000056C  2F2D FC04                move.l     -[A7], [A5 - 0x3FC]
  582. 00000570  4EBA 0DD2                jsr        [PC + 0xDD2 /* 00001344 */]
  583. 00000574  2F2D FBFC                move.l     -[A7], [A5 - 0x404]
  584. 00000578  4EBA 0DCA                jsr        [PC + 0xDCA /* 00001344 */]
  585. 0000057C  486D FBF8                pea.l      [A5 - 0x408]
  586. 00000580  4EAD 0D8A                jsr        [A5 + 0xD8A /* export_429 */]
  587. 00000584  2F2D FBE2                move.l     -[A7], [A5 - 0x41E]
  588. 00000588  4EBA 0DBA                jsr        [PC + 0xDBA /* 00001344 */]
  589. 0000058C  486D F98A                pea.l      [A5 - 0x676]
  590. 00000590  4EAD 0DA2                jsr        [A5 + 0xDA2 /* export_432 */]
  591. 00000594  486D F620                pea.l      [A5 - 0x9E0]
  592. 00000598  4EAD 0A6A                jsr        [A5 + 0xA6A /* export_329 */]
  593. 0000059C  2F2D F618                move.l     -[A7], [A5 - 0x9E8]
  594. 000005A0  4EBA 0DA2                jsr        [PC + 0xDA2 /* 00001344 */]
  595. 000005A4  4EAD 0882                jsr        [A5 + 0x882 /* export_268 */]
  596. 000005A8  2F2D FBDE                move.l     -[A7], [A5 - 0x422]
  597. 000005AC  4EBA 0D96                jsr        [PC + 0xD96 /* 00001344 */]
  598. 000005B0  4EAD 0782                jsr        [A5 + 0x782 /* export_236 */]
  599. 000005B4  286D EE96                movea.l    A4, [A5 - 0x116A]
  600. 000005B8  486C 0710                pea.l      [A4 + 0x710]
  601. 000005BC  4EAD 0A6A                jsr        [A5 + 0xA6A /* export_329 */]
  602. 000005C0  4AAC 0A08                tst.l      [A4 + 0xA08]
  603. 000005C4  6706                     beq        +0x8 /* 000005CC */
  604. 000005C6  2F2C 0A08                move.l     -[A7], [A4 + 0xA08]
  605. 000005CA  AA30                     syscall    DisposeGDevice/DisposGDevice
  606. label000005CC:
  607. 000005CC  4AAC 0A14                tst.l      [A4 + 0xA14]
  608. 000005D0  6708                     beq        +0xA /* 000005DA */
  609. 000005D2  2F2C 0A14                move.l     -[A7], [A4 + 0xA14]
  610. 000005D6  4EBA 0D6C                jsr        [PC + 0xD6C /* 00001344 */]
  611. label000005DA:
  612. 000005DA  285F                     movea.l    A4, [A7]+
  613. 000005DC  4E5E                     unlink     A6
  614. 000005DE  4E75                     rts
  615. fn000005E0:
  616. 000005E0  4E56 0000                link       A6, 0
  617. 000005E4  486D 04FA                pea.l      [A5 + 0x4FA /* export_155 */]
  618. 000005E8  A9F1                     syscall    UnloadSeg
  619. 000005EA  486D 069A                pea.l      [A5 + 0x69A /* export_207 */]
  620. 000005EE  A9F1                     syscall    UnloadSeg
  621. 000005F0  486D 0C8A                pea.l      [A5 + 0xC8A /* export_397 */]
  622. 000005F4  A9F1                     syscall    UnloadSeg
  623. 000005F6  486D 0CA2                pea.l      [A5 + 0xCA2 /* export_400 */]
  624. 000005FA  A9F1                     syscall    UnloadSeg
  625. 000005FC  102D EED9                move.b     D0, [A5 - 0x1127]
  626. 00000600  6712                     beq        +0x14 /* 00000614 */
  627. 00000602  486D 0742                pea.l      [A5 + 0x742 /* export_228 */]
  628. 00000606  A9F1                     syscall    UnloadSeg
  629. 00000608  486D 0D22                pea.l      [A5 + 0xD22 /* export_416 */]
  630. 0000060C  A9F1                     syscall    UnloadSeg
  631. 0000060E  486D 0D1A                pea.l      [A5 + 0xD1A /* export_415 */]
  632. 00000612  A9F1                     syscall    UnloadSeg
  633. label00000614:
  634. 00000614  4E5E                     unlink     A6
  635. 00000616  4E75                     rts
  636. label00000618:
  637. 00000618  4E56 FFF8                link       A6, -0x0008
  638. 0000061C  48E7 0118                movem.l    -[A7], D7,A3,A4
  639. 00000620  2E2E 0008                move.l     D7, [A6 + 0x8]
  640. 00000624  2F07                     move.l     -[A7], D7
  641. 00000626  4EBA FACC                jsr        [PC - 0x534 /* 000000F4 */]
  642. 0000062A  486D FFFC                pea.l      [A5 - 0x4]
  643. 0000062E  A86E                     syscall    InitGraf
  644. 00000630  2047                     movea.l    A0, D7
  645. 00000632  2868 0008                movea.l    A4, [A0 + 0x8]
  646. 00000636  2047                     movea.l    A0, D7
  647. 00000638  2650                     movea.l    A3, [A0]
  648. 0000063A  2F0C                     move.l     -[A7], A4
  649. 0000063C  2F0B                     move.l     -[A7], A3
  650. 0000063E  7020                     moveq.l    D0, 0x20
  651. 00000640  2F00                     move.l     -[A7], D0
  652. 00000642  4EBA 0D52                jsr        [PC + 0xD52 /* 00001396 */]
  653. 00000646  1F2E 001A                move.b     -[A7], [A6 + 0x1A]
  654. 0000064A  2F2E 0016                move.l     -[A7], [A6 + 0x16]
  655. 0000064E  1F2E 0014                move.b     -[A7], [A6 + 0x14]
  656. 00000652  1F2E 0012                move.b     -[A7], [A6 + 0x12]
  657. 00000656  1F2E 0010                move.b     -[A7], [A6 + 0x10]
  658. 0000065A  1F2E 000E                move.b     -[A7], [A6 + 0xE]
  659. 0000065E  1F2E 000C                move.b     -[A7], [A6 + 0xC]
  660. 00000662  4EAD 065A                jsr        [A5 + 0x65A /* export_199 */]
  661. 00000666  206D EE96                movea.l    A0, [A5 - 0x116A]
  662. 0000066A  43ED EE46                lea.l      A1, [A5 - 0x11BA]
  663. 0000066E  41E8 0026                lea.l      A0, [A0 + 0x26]
  664. 00000672  22D8                     move.l     [A1]+, [A0]+
  665. 00000674  22D8                     move.l     [A1]+, [A0]+
  666. 00000676  486D EE46                pea.l      [A5 - 0x11BA]
  667. 0000067A  2F3C 0004 0004           move.l     -[A7], 0x40004
  668. 00000680  A8A9                     syscall    InsetRect
  669. 00000682  42A7                     clr.l      -[A7]
  670. 00000684  A975                     syscall    TickCount
  671. 00000686  2B5F EE6A                move.l     [A5 - 0x1196], [A7]+
  672. 0000068A  2B6D EE6A EE5E           move.l     [A5 - 0x11A2], [A5 - 0x1196]
  673. 00000690  2B6D EE6A EE5A           move.l     [A5 - 0x11A6], [A5 - 0x1196]
  674. 00000696  7000                     moveq.l    D0, 0x00
  675. 00000698  2B40 EE56                move.l     [A5 - 0x11AA], D0
  676. 0000069C  206D EE96                movea.l    A0, [A5 - 0x116A]
  677. 000006A0  4228 0586                clr.b      [A0 + 0x586]
  678. 000006A4  206D EE96                movea.l    A0, [A5 - 0x116A]
  679. 000006A8  4268 0590                clr.w      [A0 + 0x590]
  680. 000006AC  206D EE96                movea.l    A0, [A5 - 0x116A]
  681. 000006B0  41E8 0588                lea.l      A0, [A0 + 0x588]
  682. 000006B4  43ED EE46                lea.l      A1, [A5 - 0x11BA]
  683. 000006B8  20D9                     move.l     [A0]+, [A1]+
  684. 000006BA  20D9                     move.l     [A0]+, [A1]+
  685. 000006BC  206D EE96                movea.l    A0, [A5 - 0x116A]
  686. 000006C0  7000                     moveq.l    D0, 0x00
  687. 000006C2  2140 0582                move.l     [A0 + 0x582], D0
  688. 000006C6  206D EE96                movea.l    A0, [A5 - 0x116A]
  689. 000006CA  4228 0008                clr.b      [A0 + 0x8]
  690. 000006CE  486D 0CBA                pea.l      [A5 + 0xCBA /* export_403 */]
  691. 000006D2  A9F1                     syscall    UnloadSeg
  692. 000006D4  4EBA FF0A                jsr        [PC - 0xF6 /* 000005E0 */]
  693. 000006D8  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  694. 000006DC  4E5E                     unlink     A6
  695. 000006DE  205F                     movea.l    A0, [A7]+
  696. 000006E0  DEFC 0014                add.w      A7, 0x14
  697. 000006E4  4ED0                     jmp        [A0]
  698. label000006E6:
  699. 000006E6  4E56 0000                link       A6, 0
  700. 000006EA  206D EE96                movea.l    A0, [A5 - 0x116A]
  701. 000006EE  4868 056C                pea.l      [A0 + 0x56C]
  702. 000006F2  4EAD 09CA                jsr        [A5 + 0x9CA /* export_309 */]
  703. 000006F6  4EBA FE42                jsr        [PC - 0x1BE /* 0000053A */]
  704. 000006FA  422D EED9                clr.b      [A5 - 0x1127]
  705. 000006FE  1F2E 000C                move.b     -[A7], [A6 + 0xC]
  706. 00000702  4EAD 0602                jsr        [A5 + 0x602 /* export_188 */]
  707. 00000706  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  708. 0000070A  4EBA FAA2                jsr        [PC - 0x55E /* 000001AE */]
  709. 0000070E  4E5E                     unlink     A6
  710. 00000710  205F                     movea.l    A0, [A7]+
  711. 00000712  5C4F                     addq.w     A7, 6
  712. 00000714  4ED0                     jmp        [A0]
  713. fn00000716:
  714. 00000716  4E56 FFEC                link       A6, -0x0014
  715. 0000071A  206D EE96                movea.l    A0, [A5 - 0x116A]
  716. 0000071E  2D48 FFEC                move.l     [A6 - 0x14], A0
  717. 00000722  422D FF20                clr.b      [A5 - 0xE0]
  718. 00000726  206E FFEC                movea.l    A0, [A6 - 0x14]
  719. 0000072A  4228 0716                clr.b      [A0 + 0x716]
  720. 0000072E  422D EEE9                clr.b      [A5 - 0x1117]
  721. 00000732  1D6D EED9 000C           move.b     [A6 + 0xC], [A5 - 0x1127]
  722. 00000738  2F2E 0012                move.l     -[A7], [A6 + 0x12]
  723. 0000073C  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  724. 00000740  1F2E 000C                move.b     -[A7], [A6 + 0xC]
  725. 00000744  1F2E 000A                move.b     -[A7], [A6 + 0xA]
  726. 00000748  1F2E 0008                move.b     -[A7], [A6 + 0x8]
  727. 0000074C  4EAD 05DA                jsr        [A5 + 0x5DA /* export_183 */]
  728. 00000750  4A6D F5FA                tst.w      [A5 - 0xA06]
  729. 00000754  5EC0                     sgt        D0
  730. 00000756  4400                     neg.b      D0
  731. 00000758  1B40 FF20                move.b     [A5 - 0xE0], D0
  732. 0000075C  1B6D FF20 EED8           move.b     [A5 - 0x1128], [A5 - 0xE0]
  733. 00000762  206D EE96                movea.l    A0, [A5 - 0x116A]
  734. 00000766  116D FF20 0716           move.b     [A0 + 0x716], [A5 - 0xE0]
  735. 0000076C  422D EEE9                clr.b      [A5 - 0x1117]
  736. 00000770  422D EEA6                clr.b      [A5 - 0x115A]
  737. 00000774  4EBA FE6A                jsr        [PC - 0x196 /* 000005E0 */]
  738. 00000778  4E5E                     unlink     A6
  739. 0000077A  205F                     movea.l    A0, [A7]+
  740. 0000077C  DEFC 000E                add.w      A7, 0xE
  741. 00000780  4ED0                     jmp        [A0]
  742. label00000782:
  743. 00000782  4E56 0000                link       A6, 0
  744. 00000786  102D FF20                move.b     D0, [A5 - 0xE0]
  745. 0000078A  670A                     beq        +0xC /* 00000796 */
  746. 0000078C  4EBA 0654                jsr        [PC + 0x654 /* 00000DE2 */]
  747. 00000790  422E 0010                clr.b      [A6 + 0x10]
  748. 00000794  6012                     bra        +0x14 /* 000007A8 */
  749. label00000796:
  750. 00000796  4267                     clr.w      -[A7]
  751. 00000798  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  752. 0000079C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  753. 000007A0  4EAD 0582                jsr        [A5 + 0x582 /* export_172 */]
  754. 000007A4  1D5F 0010                move.b     [A6 + 0x10], [A7]+
  755. label000007A8:
  756. 000007A8  4E5E                     unlink     A6
  757. 000007AA  205F                     movea.l    A0, [A7]+
  758. 000007AC  504F                     addq.w     A7, 8
  759. 000007AE  4ED0                     jmp        [A0]
  760. label000007B0:
  761. 000007B0  4E56 0000                link       A6, 0
  762. 000007B4  102D FF20                move.b     D0, [A5 - 0xE0]
  763. 000007B8  670A                     beq        +0xC /* 000007C4 */
  764. 000007BA  4EBA 0626                jsr        [PC + 0x626 /* 00000DE2 */]
  765. 000007BE  422E 0008                clr.b      [A6 + 0x8]
  766. 000007C2  600A                     bra        +0xC /* 000007CE */
  767. label000007C4:
  768. 000007C4  4267                     clr.w      -[A7]
  769. 000007C6  4EAD 058A                jsr        [A5 + 0x58A /* export_173 */]
  770. 000007CA  1D5F 0008                move.b     [A6 + 0x8], [A7]+
  771. label000007CE:
  772. 000007CE  4E5E                     unlink     A6
  773. 000007D0  4E75                     rts
  774. label000007D2:
  775. 000007D2  4E56 FEFE                link       A6, -0x0102
  776. 000007D6  422E 0008                clr.b      [A6 + 0x8]
  777. 000007DA  102D EED9                move.b     D0, [A5 - 0x1127]
  778. 000007DE  6748                     beq        +0x4A /* 00000828 */
  779. 000007E0  4267                     clr.w      -[A7]
  780. 000007E2  486E FF00                pea.l      [A6 - 0x100]
  781. 000007E6  486E FEFE                pea.l      [A6 - 0x102]
  782. 000007EA  4EAD 06FA                jsr        [A5 + 0x6FA /* export_219 */]
  783. 000007EE  101F                     move.b     D0, [A7]+
  784. 000007F0  6736                     beq        +0x38 /* 00000828 */
  785. 000007F2  1D7C 0001 0008           move.b     [A6 + 0x8], 0x1
  786. 000007F8  486E FF00                pea.l      [A6 - 0x100]
  787. 000007FC  3F2E FEFE                move.w     -[A7], [A6 - 0x102]
  788. 00000800  4267                     clr.w      -[A7]
  789. 00000802  1F3C 0001                move.b     -[A7], 0x1
  790. 00000806  4267                     clr.w      -[A7]
  791. 00000808  1F3C 0001                move.b     -[A7], 0x1
  792. 0000080C  4EBA FF08                jsr        [PC - 0xF8 /* 00000716 */]
  793. 00000810  206D EE96                movea.l    A0, [A5 - 0x116A]
  794. 00000814  4A50                     tst.w      [A0]
  795. 00000816  660C                     bne        +0xE /* 00000824 */
  796. 00000818  1F3C 0001                move.b     -[A7], 0x1
  797. 0000081C  4EAD 0592                jsr        [A5 + 0x592 /* export_174 */]
  798. 00000820  4EBA 05C0                jsr        [PC + 0x5C0 /* 00000DE2 */]
  799. label00000824:
  800. 00000824  4EAD 05BA                jsr        [A5 + 0x5BA /* export_179 */]
  801. label00000828:
  802. 00000828  4E5E                     unlink     A6
  803. 0000082A  4E75                     rts
  804. fn0000082C:
  805. 0000082C  4E56 0000                link       A6, 0
  806. 00000830  4E5E                     unlink     A6
  807. 00000832  4E75                     rts
  808. fn00000834:
  809. 00000834  4E56 FFFC                link       A6, -0x0004
  810. 00000838  486E FFFC                pea.l      [A6 - 0x4]
  811. 0000083C  4EAD 0BB2                jsr        [A5 + 0xBB2 /* export_370 */]
  812. 00000840  2F2D EE7C                move.l     -[A7], [A5 - 0x1184]
  813. 00000844  A922                     syscall    BeginUpdate
  814. 00000846  4267                     clr.w      -[A7]
  815. 00000848  4EAD 060A                jsr        [A5 + 0x60A /* export_189 */]
  816. 0000084C  4A5F                     tst.w      [A7]+
  817. 0000084E  6716                     beq        +0x18 /* 00000866 */
  818. 00000850  206D EE96                movea.l    A0, [A5 - 0x116A]
  819. 00000854  2068 001A                movea.l    A0, [A0 + 0x1A]
  820. 00000858  2068 0018                movea.l    A0, [A0 + 0x18]
  821. 0000085C  2050                     movea.l    A0, [A0]
  822. 0000085E  4868 0002                pea.l      [A0 + 0x2]
  823. 00000862  4EAD 03CA                jsr        [A5 + 0x3CA /* export_117 */]
  824. label00000866:
  825. 00000866  2F2D EE7C                move.l     -[A7], [A5 - 0x1184]
  826. 0000086A  A923                     syscall    EndUpdate
  827. 0000086C  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  828. 00000870  4EAD 0BBA                jsr        [A5 + 0xBBA /* export_371 */]
  829. 00000874  4E5E                     unlink     A6
  830. 00000876  4E75                     rts
  831. fn00000878:
  832. 00000878  4E56 FFFC                link       A6, -0x0004
  833. 0000087C  302D EE7A                move.w     D0, [A5 - 0x1186]
  834. 00000880  5740                     subq.w     D0, 3
  835. 00000882  671E                     beq        +0x20 /* 000008A2 */
  836. 00000884  5340                     subq.w     D0, 1
  837. 00000886  670A                     beq        +0xC /* 00000892 */
  838. 00000888  5340                     subq.w     D0, 1
  839. 0000088A  6716                     beq        +0x18 /* 000008A2 */
  840. 0000088C  5340                     subq.w     D0, 1
  841. 0000088E  6718                     beq        +0x1A /* 000008A8 */
  842. 00000890  602C                     bra        +0x2E /* 000008BE */
  843. label00000892:
  844. 00000892  2F2D EE7C                move.l     -[A7], [A5 - 0x1184]
  845. 00000896  2F2D FF22                move.l     -[A7], [A5 - 0xDE]
  846. 0000089A  486D EE46                pea.l      [A5 - 0x11BA]
  847. 0000089E  A925                     syscall    DragWindow
  848. 000008A0  601C                     bra        +0x1E /* 000008BE */
  849. label000008A2:
  850. 000008A2  4EAD 0762                jsr        [A5 + 0x762 /* export_232 */]
  851. 000008A6  6016                     bra        +0x18 /* 000008BE */
  852. label000008A8:
  853. 000008A8  4267                     clr.w      -[A7]
  854. 000008AA  2F2D EE7C                move.l     -[A7], [A5 - 0x1184]
  855. 000008AE  2F2D FF22                move.l     -[A7], [A5 - 0xDE]
  856. 000008B2  A91E                     syscall    TrackGoAway
  857. 000008B4  101F                     move.b     D0, [A7]+
  858. 000008B6  6706                     beq        +0x8 /* 000008BE */
  859. 000008B8  2F2D EE7C                move.l     -[A7], [A5 - 0x1184]
  860. 000008BC  A916                     syscall    HideWindow
  861. label000008BE:
  862. 000008BE  4E5E                     unlink     A6
  863. 000008C0  4E75                     rts
  864. fn000008C2:
  865. 000008C2  4E56 0000                link       A6, 0
  866. 000008C6  1B7C 0001 FF21           move.b     [A5 - 0xDF], 0x1
  867. 000008CC  302D EE86                move.w     D0, [A5 - 0x117A]
  868. 000008D0  5340                     subq.w     D0, 1
  869. 000008D2  6722                     beq        +0x24 /* 000008F6 */
  870. 000008D4  5340                     subq.w     D0, 1
  871. 000008D6  6724                     beq        +0x26 /* 000008FC */
  872. 000008D8  5340                     subq.w     D0, 1
  873. 000008DA  6726                     beq        +0x28 /* 00000902 */
  874. 000008DC  5540                     subq.w     D0, 2
  875. 000008DE  6722                     beq        +0x24 /* 00000902 */
  876. 000008E0  5340                     subq.w     D0, 1
  877. 000008E2  670C                     beq        +0xE /* 000008F0 */
  878. 000008E4  5540                     subq.w     D0, 2
  879. 000008E6  6702                     beq        +0x4 /* 000008EA */
  880. 000008E8  601C                     bra        +0x1E /* 00000906 */
  881. label000008EA:
  882. 000008EA  4EBA FF40                jsr        [PC - 0xC0 /* 0000082C */]
  883. 000008EE  6016                     bra        +0x18 /* 00000906 */
  884. label000008F0:
  885. 000008F0  4EBA FF42                jsr        [PC - 0xBE /* 00000834 */]
  886. 000008F4  6010                     bra        +0x12 /* 00000906 */
  887. label000008F6:
  888. 000008F6  4EBA FF80                jsr        [PC - 0x80 /* 00000878 */]
  889. 000008FA  600A                     bra        +0xC /* 00000906 */
  890. label000008FC:
  891. 000008FC  4EAD 075A                jsr        [A5 + 0x75A /* export_231 */]
  892. 00000900  6004                     bra        +0x6 /* 00000906 */
  893. label00000902:
  894. 00000902  4EAD 076A                jsr        [A5 + 0x76A /* export_233 */]
  895. label00000906:
  896. 00000906  4E5E                     unlink     A6
  897. 00000908  4E75                     rts
  898. fn0000090A:
  899. 0000090A  4E56 FFFC                link       A6, -0x0004
  900. 0000090E  4AAD EE7C                tst.l      [A5 - 0x1184]
  901. 00000912  6602                     bne        +0x4 /* 00000916 */
  902. 00000914  6056                     bra        +0x58 /* 0000096C */
  903. label00000916:
  904. 00000916  486E FFFC                pea.l      [A6 - 0x4]
  905. 0000091A  A874                     syscall    GetPort
  906. 0000091C  2F2D EE7C                move.l     -[A7], [A5 - 0x1184]
  907. 00000920  A873                     syscall    SetPort
  908. 00000922  4267                     clr.w      -[A7]
  909. 00000924  486D EE86                pea.l      [A5 - 0x117A]
  910. 00000928  2F2D EE7C                move.l     -[A7], [A5 - 0x1184]
  911. 0000092C  3F2D EE7A                move.w     -[A7], [A5 - 0x1186]
  912. 00000930  4EAD 08B2                jsr        [A5 + 0x8B2 /* export_274 */]
  913. 00000934  101F                     move.b     D0, [A7]+
  914. 00000936  662E                     bne        +0x30 /* 00000966 */
  915. 00000938  486D EE90                pea.l      [A5 - 0x1170]
  916. 0000093C  A871                     syscall    GlobalToLocal
  917. 0000093E  206D EE96                movea.l    A0, [A5 - 0x116A]
  918. 00000942  202D EE7C                move.l     D0, [A5 - 0x1184]
  919. 00000946  B0A8 001A                cmp.l      D0, [A0 + 0x1A]
  920. 0000094A  6606                     bne        +0x8 /* 00000952 */
  921. 0000094C  4EBA FF74                jsr        [PC - 0x8C /* 000008C2 */]
  922. 00000950  6014                     bra        +0x16 /* 00000966 */
  923. label00000952:
  924. 00000952  7006                     moveq.l    D0, 0x06
  925. 00000954  B06D EE86                cmp.w      D0, [A5 - 0x117A]
  926. 00000958  660C                     bne        +0xE /* 00000966 */
  927. 0000095A  2F2D EE7C                move.l     -[A7], [A5 - 0x1184]
  928. 0000095E  A922                     syscall    BeginUpdate
  929. 00000960  2F2D EE7C                move.l     -[A7], [A5 - 0x1184]
  930. 00000964  A923                     syscall    EndUpdate
  931. label00000966:
  932. 00000966  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  933. 0000096A  A873                     syscall    SetPort
  934. label0000096C:
  935. 0000096C  4E5E                     unlink     A6
  936. 0000096E  4E75                     rts
  937. fn00000970:
  938. 00000970  4E56 FFF8                link       A6, -0x0008
  939. 00000974  48E7 0700                movem.l    -[A7], D5,D6,D7
  940. 00000978  203C 0000 00FF           move.l     D0, 0xFF
  941. 0000097E  C0AD EE88                and.l      D0, [A5 - 0x1178]
  942. 00000982  3B40 EE74                move.w     [A5 - 0x118C], D0
  943. 00000986  203C 0000 FF00           move.l     D0, 0xFF00
  944. 0000098C  C0AD EE88                and.l      D0, [A5 - 0x1178]
  945. 00000990  E088                     lsr        D0, 8
  946. 00000992  3B40 EE72                move.w     [A5 - 0x118E], D0
  947. 00000996  2B6D EE8C EE5E           move.l     [A5 - 0x11A2], [A5 - 0x1174]
  948. 0000099C  42A7                     clr.l      -[A7]
  949. 0000099E  A924                     syscall    FrontWindow
  950. 000009A0  2B5F EE7C                move.l     [A5 - 0x1184], [A7]+
  951. 000009A4  7000                     moveq.l    D0, 0x00
  952. 000009A6  302D EE94                move.w     D0, [A5 - 0x116C]
  953. 000009AA  C0BC 0000 0100           and.l      D0, 0x100
  954. 000009B0  4A80                     tst.l      D0
  955. 000009B2  6700 00D4                beq        +0xD6 /* 00000A88 */
  956. 000009B6  102D F221                move.b     D0, [A5 - 0xDDF]
  957. 000009BA  0A00 0001                xori.b     D0, 0x1
  958. 000009BE  722E                     moveq.l    D1, 0x2E
  959. 000009C0  B26D EE74                cmp.w      D1, [A5 - 0x118C]
  960. 000009C4  57C1                     seq        D1
  961. 000009C6  7457                     moveq.l    D2, 0x57
  962. 000009C8  B46D EE74                cmp.w      D2, [A5 - 0x118C]
  963. 000009CC  57C2                     seq        D2
  964. 000009CE  8202                     or.b       D1, D2
  965. 000009D0  7477                     moveq.l    D2, 0x77
  966. 000009D2  B46D EE74                cmp.w      D2, [A5 - 0x118C]
  967. 000009D6  57C2                     seq        D2
  968. 000009D8  8202                     or.b       D1, D2
  969. 000009DA  7451                     moveq.l    D2, 0x51
  970. 000009DC  B46D EE74                cmp.w      D2, [A5 - 0x118C]
  971. 000009E0  57C2                     seq        D2
  972. 000009E2  8202                     or.b       D1, D2
  973. 000009E4  7471                     moveq.l    D2, 0x71
  974. 000009E6  B46D EE74                cmp.w      D2, [A5 - 0x118C]
  975. 000009EA  57C2                     seq        D2
  976. 000009EC  8202                     or.b       D1, D2
  977. 000009EE  C001                     and.b      D0, D1
  978. 000009F0  6720                     beq        +0x22 /* 00000A12 */
  979. 000009F2  1B7C 0001 EEE9           move.b     [A5 - 0x1117], 0x1
  980. 000009F8  702E                     moveq.l    D0, 0x2E
  981. 000009FA  B06D EE74                cmp.w      D0, [A5 - 0x118C]
  982. 000009FE  6610                     bne        +0x12 /* 00000A10 */
  983. 00000A00  2F3C 0003 0000           move.l     -[A7], 0x30000
  984. 00000A06  2F2D EE88                move.l     -[A7], [A5 - 0x1178]
  985. 00000A0A  4EBA 0C42                jsr        [PC + 0xC42 /* 0000164E */]
  986. 00000A0E  3A1F                     move.w     D5, [A7]+
  987. label00000A10:
  988. 00000A10  607A                     bra        +0x7C /* 00000A8C */
  989. label00000A12:
  990. 00000A12  102D F221                move.b     D0, [A5 - 0xDDF]
  991. 00000A16  0A00 0001                xori.b     D0, 0x1
  992. 00000A1A  7260                     moveq.l    D1, 0x60
  993. 00000A1C  B26D EE74                cmp.w      D1, [A5 - 0x118C]
  994. 00000A20  57C1                     seq        D1
  995. 00000A22  747E                     moveq.l    D2, 0x7E
  996. 00000A24  B46D EE74                cmp.w      D2, [A5 - 0x118C]
  997. 00000A28  57C2                     seq        D2
  998. 00000A2A  8202                     or.b       D1, D2
  999. 00000A2C  C001                     and.b      D0, D1
  1000. 00000A2E  671C                     beq        +0x1E /* 00000A4C */
  1001. 00000A30  2F3C 0001 0000           move.l     -[A7], 0x10000
  1002. 00000A36  206D EE96                movea.l    A0, [A5 - 0x116A]
  1003. 00000A3A  1028 0007                move.b     D0, [A0 + 0x7]
  1004. 00000A3E  0A00 0001                xori.b     D0, 0x1
  1005. 00000A42  1F00                     move.b     -[A7], D0
  1006. 00000A44  4EAD 064A                jsr        [A5 + 0x64A /* export_197 */]
  1007. 00000A48  1C1F                     move.b     D6, [A7]+
  1008. 00000A4A  6040                     bra        +0x42 /* 00000A8C */
  1009. label00000A4C:
  1010. 00000A4C  4AAD F0E4                tst.l      [A5 - 0xF1C]
  1011. 00000A50  6730                     beq        +0x32 /* 00000A82 */
  1012. 00000A52  42A7                     clr.l      -[A7]
  1013. 00000A54  3F2D EE74                move.w     -[A7], [A5 - 0x118C]
  1014. 00000A58  A93E                     syscall    MenuKey
  1015. 00000A5A  2E1F                     move.l     D7, [A7]+
  1016. 00000A5C  4267                     clr.w      -[A7]
  1017. 00000A5E  2F07                     move.l     -[A7], D7
  1018. 00000A60  A86A                     syscall    HiWord
  1019. 00000A62  3B5F EE78                move.w     [A5 - 0x1188], [A7]+
  1020. 00000A66  4267                     clr.w      -[A7]
  1021. 00000A68  2F07                     move.l     -[A7], D7
  1022. 00000A6A  A86B                     syscall    LoWord
  1023. 00000A6C  3B5F EE76                move.w     [A5 - 0x118A], [A7]+
  1024. 00000A70  0C6D 01F4 EE78           cmpi.w     [A5 - 0x1188], 0x1F4
  1025. 00000A76  6F08                     ble        +0xA /* 00000A80 */
  1026. 00000A78  4267                     clr.w      -[A7]
  1027. 00000A7A  A938                     syscall    HiliteMenu
  1028. 00000A7C  4EAD 074A                jsr        [A5 + 0x74A /* export_229 */]
  1029. label00000A80:
  1030. 00000A80  600A                     bra        +0xC /* 00000A8C */
  1031. label00000A82:
  1032. 00000A82  4EBA FE86                jsr        [PC - 0x17A /* 0000090A */]
  1033. 00000A86  6004                     bra        +0x6 /* 00000A8C */
  1034. label00000A88:
  1035. 00000A88  4EBA FE80                jsr        [PC - 0x180 /* 0000090A */]
  1036. label00000A8C:
  1037. 00000A8C  4CDF 00E0                movem.l    D5,D6,D7, [A7]+
  1038. 00000A90  4E5E                     unlink     A6
  1039. 00000A92  4E75                     rts
  1040. fn00000A94:
  1041. 00000A94  4E56 FFFC                link       A6, -0x0004
  1042. 00000A98  2F07                     move.l     -[A7], D7
  1043. 00000A9A  102D EEEB                move.b     D0, [A5 - 0x1115]
  1044. 00000A9E  6734                     beq        +0x36 /* 00000AD4 */
  1045. 00000AA0  42A7                     clr.l      -[A7]
  1046. 00000AA2  2F2D FF22                move.l     -[A7], [A5 - 0xDE]
  1047. 00000AA6  A93D                     syscall    MenuSelect
  1048. 00000AA8  2E1F                     move.l     D7, [A7]+
  1049. 00000AAA  4267                     clr.w      -[A7]
  1050. 00000AAC  2F07                     move.l     -[A7], D7
  1051. 00000AAE  A86A                     syscall    HiWord
  1052. 00000AB0  3B5F EE78                move.w     [A5 - 0x1188], [A7]+
  1053. 00000AB4  4267                     clr.w      -[A7]
  1054. 00000AB6  2F07                     move.l     -[A7], D7
  1055. 00000AB8  A86B                     syscall    LoWord
  1056. 00000ABA  3B5F EE76                move.w     [A5 - 0x118A], [A7]+
  1057. 00000ABE  4267                     clr.w      -[A7]
  1058. 00000AC0  A938                     syscall    HiliteMenu
  1059. 00000AC2  0C6D 01F4 EE78           cmpi.w     [A5 - 0x1188], 0x1F4
  1060. 00000AC8  6F0A                     ble        +0xC /* 00000AD4 */
  1061. 00000ACA  1B7C 0001 FF21           move.b     [A5 - 0xDF], 0x1
  1062. 00000AD0  4EAD 074A                jsr        [A5 + 0x74A /* export_229 */]
  1063. label00000AD4:
  1064. 00000AD4  2E1F                     move.l     D7, [A7]+
  1065. 00000AD6  4E5E                     unlink     A6
  1066. 00000AD8  4E75                     rts
  1067. fn00000ADA:
  1068. 00000ADA  4E56 FFFC                link       A6, -0x0004
  1069. 00000ADE  48E7 0308                movem.l    -[A7], D6,D7,A4
  1070. 00000AE2  286D EE96                movea.l    A4, [A5 - 0x116A]
  1071. 00000AE6  3E2D EE88                move.w     D7, [A5 - 0x1178]
  1072. 00000AEA  7000                     moveq.l    D0, 0x00
  1073. 00000AEC  3007                     move.w     D0, D7
  1074. 00000AEE  C0BC FFFF FF00           and.l      D0, 0xFFFFFF00
  1075. 00000AF4  3E00                     move.w     D7, D0
  1076. 00000AF6  0C47 0100                cmpi.w     D7, 0x100
  1077. 00000AFA  667C                     bne        +0x7E /* 00000B78 */
  1078. 00000AFC  082D 0000 EE8B           btst.b     [A5 - 0x1175], 0x0
  1079. 00000B02  6738                     beq        +0x3A /* 00000B3C */
  1080. 00000B04  2F2C 001A                move.l     -[A7], [A4 + 0x1A]
  1081. 00000B08  A915                     syscall    ShowWindow
  1082. 00000B0A  2F2C 001A                move.l     -[A7], [A4 + 0x1A]
  1083. 00000B0E  A91F                     syscall    SelectWindow
  1084. 00000B10  4EAD 0462                jsr        [A5 + 0x462 /* export_136 */]
  1085. 00000B14  4EAD 0482                jsr        [A5 + 0x482 /* export_140 */]
  1086. 00000B18  422D EE80                clr.b      [A5 - 0x1180]
  1087. 00000B1C  3F2C 05BC                move.w     -[A7], [A4 + 0x5BC]
  1088. 00000B20  4EAD 0C7A                jsr        [A5 + 0xC7A /* export_395 */]
  1089. 00000B24  2F2C 001A                move.l     -[A7], [A4 + 0x1A]
  1090. 00000B28  A873                     syscall    SetPort
  1091. 00000B2A  206D EE96                movea.l    A0, [A5 - 0x116A]
  1092. 00000B2E  2068 001A                movea.l    A0, [A0 + 0x1A]
  1093. 00000B32  4868 0010                pea.l      [A0 + 0x10]
  1094. 00000B36  4EAD 03CA                jsr        [A5 + 0x3CA /* export_117 */]
  1095. 00000B3A  603C                     bra        +0x3E /* 00000B78 */
  1096. label00000B3C:
  1097. 00000B3C  422C 0008                clr.b      [A4 + 0x8]
  1098. 00000B40  102D F5BD                move.b     D0, [A5 - 0xA43]
  1099. 00000B44  6608                     bne        +0xA /* 00000B4E */
  1100. 00000B46  A853                     syscall    ShowCursor
  1101. 00000B48  1B7C 0001 F5BD           move.b     [A5 - 0xA43], 0x1
  1102. label00000B4E:
  1103. 00000B4E  486C 00F0                pea.l      [A4 + 0xF0]
  1104. 00000B52  4EAD 0452                jsr        [A5 + 0x452 /* export_134 */]
  1105. 00000B56  4EAD 046A                jsr        [A5 + 0x46A /* export_137 */]
  1106. 00000B5A  4EAD 048A                jsr        [A5 + 0x48A /* export_141 */]
  1107. 00000B5E  2F2C 001A                move.l     -[A7], [A4 + 0x1A]
  1108. 00000B62  A916                     syscall    HideWindow
  1109. 00000B64  1B7C 0001 EE80           move.b     [A5 - 0x1180], 0x1
  1110. 00000B6A  3C2C 05BC                move.w     D6, [A4 + 0x5BC]
  1111. 00000B6E  4267                     clr.w      -[A7]
  1112. 00000B70  4EAD 0C7A                jsr        [A5 + 0xC7A /* export_395 */]
  1113. 00000B74  3946 05BC                move.w     [A4 + 0x5BC], D6
  1114. label00000B78:
  1115. 00000B78  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  1116. 00000B7C  4E5E                     unlink     A6
  1117. 00000B7E  4E75                     rts
  1118. fn00000B80:
  1119. 00000B80  4E56 FFF0                link       A6, -0x0010
  1120. 00000B84  206E 0008                movea.l    A0, [A6 + 0x8]
  1121. 00000B88  43EE FFF0                lea.l      A1, [A6 - 0x10]
  1122. 00000B8C  22D8                     move.l     [A1]+, [A0]+
  1123. 00000B8E  22D8                     move.l     [A1]+, [A0]+
  1124. 00000B90  22D8                     move.l     [A1]+, [A0]+
  1125. 00000B92  22D8                     move.l     [A1]+, [A0]+
  1126. 00000B94  422D FF21                clr.b      [A5 - 0xDF]
  1127. 00000B98  41ED EE86                lea.l      A0, [A5 - 0x117A]
  1128. 00000B9C  43EE FFF0                lea.l      A1, [A6 - 0x10]
  1129. 00000BA0  20D9                     move.l     [A0]+, [A1]+
  1130. 00000BA2  20D9                     move.l     [A0]+, [A1]+
  1131. 00000BA4  20D9                     move.l     [A0]+, [A1]+
  1132. 00000BA6  20D9                     move.l     [A0]+, [A1]+
  1133. 00000BA8  2B6D EE90 FF22           move.l     [A5 - 0xDE], [A5 - 0x1170]
  1134. 00000BAE  7000                     moveq.l    D0, 0x00
  1135. 00000BB0  302D EE94                move.w     D0, [A5 - 0x116C]
  1136. 00000BB4  C0BC 0000 0200           and.l      D0, 0x200
  1137. 00000BBA  4A80                     tst.l      D0
  1138. 00000BBC  56C0                     sne        D0
  1139. 00000BBE  4400                     neg.b      D0
  1140. 00000BC0  1B40 EE85                move.b     [A5 - 0x117B], D0
  1141. 00000BC4  7000                     moveq.l    D0, 0x00
  1142. 00000BC6  302D EE94                move.w     D0, [A5 - 0x116C]
  1143. 00000BCA  C0BC 0000 0800           and.l      D0, 0x800
  1144. 00000BD0  4A80                     tst.l      D0
  1145. 00000BD2  56C0                     sne        D0
  1146. 00000BD4  4400                     neg.b      D0
  1147. 00000BD6  1B40 EE84                move.b     [A5 - 0x117C], D0
  1148. 00000BDA  7000                     moveq.l    D0, 0x00
  1149. 00000BDC  302D EE94                move.w     D0, [A5 - 0x116C]
  1150. 00000BE0  C0BC 0000 0100           and.l      D0, 0x100
  1151. 00000BE6  4A80                     tst.l      D0
  1152. 00000BE8  56C0                     sne        D0
  1153. 00000BEA  4400                     neg.b      D0
  1154. 00000BEC  1B40 EE83                move.b     [A5 - 0x117D], D0
  1155. 00000BF0  7000                     moveq.l    D0, 0x00
  1156. 00000BF2  302D EE94                move.w     D0, [A5 - 0x116C]
  1157. 00000BF6  C0BC 0000 1000           and.l      D0, 0x1000
  1158. 00000BFC  4A80                     tst.l      D0
  1159. 00000BFE  56C0                     sne        D0
  1160. 00000C00  4400                     neg.b      D0
  1161. 00000C02  1B40 EE82                move.b     [A5 - 0x117E], D0
  1162. 00000C06  302D EE86                move.w     D0, [A5 - 0x117A]
  1163. 00000C0A  6700 00B4                beq        +0xB6 /* 00000CC0 */
  1164. 00000C0E  5340                     subq.w     D0, 1
  1165. 00000C10  6730                     beq        +0x32 /* 00000C42 */
  1166. 00000C12  5340                     subq.w     D0, 1
  1167. 00000C14  676E                     beq        +0x70 /* 00000C84 */
  1168. 00000C16  5340                     subq.w     D0, 1
  1169. 00000C18  6700 00A0                beq        +0xA2 /* 00000CBA */
  1170. 00000C1C  5540                     subq.w     D0, 2
  1171. 00000C1E  6700 009A                beq        +0x9C /* 00000CBA */
  1172. 00000C22  5340                     subq.w     D0, 1
  1173. 00000C24  670E                     beq        +0x10 /* 00000C34 */
  1174. 00000C26  5540                     subq.w     D0, 2
  1175. 00000C28  670A                     beq        +0xC /* 00000C34 */
  1176. 00000C2A  5F40                     subq.w     D0, 7
  1177. 00000C2C  6700 00B8                beq        +0xBA /* 00000CE6 */
  1178. 00000C30  6000 00B8                bra        +0xBA /* 00000CEA */
  1179. label00000C34:
  1180. 00000C34  2B6D EE88 EE7C           move.l     [A5 - 0x1184], [A5 - 0x1178]
  1181. 00000C3A  4EBA FCCE                jsr        [PC - 0x332 /* 0000090A */]
  1182. 00000C3E  6000 00AA                bra        +0xAC /* 00000CEA */
  1183. label00000C42:
  1184. 00000C42  4267                     clr.w      -[A7]
  1185. 00000C44  2F2D EE90                move.l     -[A7], [A5 - 0x1170]
  1186. 00000C48  486D EE7C                pea.l      [A5 - 0x1184]
  1187. 00000C4C  A92C                     syscall    FindWindow
  1188. 00000C4E  3B5F EE7A                move.w     [A5 - 0x1186], [A7]+
  1189. 00000C52  2B6D EE6A EE62           move.l     [A5 - 0x119E], [A5 - 0x1196]
  1190. 00000C58  2B6D EE8C EE6A           move.l     [A5 - 0x1196], [A5 - 0x1174]
  1191. 00000C5E  302D EE7A                move.w     D0, [A5 - 0x1186]
  1192. 00000C62  5340                     subq.w     D0, 1
  1193. 00000C64  6706                     beq        +0x8 /* 00000C6C */
  1194. 00000C66  5340                     subq.w     D0, 1
  1195. 00000C68  6708                     beq        +0xA /* 00000C72 */
  1196. 00000C6A  6012                     bra        +0x14 /* 00000C7E */
  1197. label00000C6C:
  1198. 00000C6C  4EBA FE26                jsr        [PC - 0x1DA /* 00000A94 */]
  1199. 00000C70  6078                     bra        +0x7A /* 00000CEA */
  1200. label00000C72:
  1201. 00000C72  486D EE86                pea.l      [A5 - 0x117A]
  1202. 00000C76  2F2D EE7C                move.l     -[A7], [A5 - 0x1184]
  1203. 00000C7A  A9B3                     syscall    SystemClick
  1204. 00000C7C  606C                     bra        +0x6E /* 00000CEA */
  1205. label00000C7E:
  1206. 00000C7E  4EBA FC8A                jsr        [PC - 0x376 /* 0000090A */]
  1207. 00000C82  6066                     bra        +0x68 /* 00000CEA */
  1208. label00000C84:
  1209. 00000C84  4267                     clr.w      -[A7]
  1210. 00000C86  2F2D EE90                move.l     -[A7], [A5 - 0x1170]
  1211. 00000C8A  486D EE7C                pea.l      [A5 - 0x1184]
  1212. 00000C8E  A92C                     syscall    FindWindow
  1213. 00000C90  3B5F EE7A                move.w     [A5 - 0x1186], [A7]+
  1214. 00000C94  4267                     clr.w      -[A7]
  1215. 00000C96  486D EE86                pea.l      [A5 - 0x117A]
  1216. 00000C9A  2F2D EE7C                move.l     -[A7], [A5 - 0x1184]
  1217. 00000C9E  3F2D EE7A                move.w     -[A7], [A5 - 0x1186]
  1218. 00000CA2  4EAD 08B2                jsr        [A5 + 0x8B2 /* export_274 */]
  1219. 00000CA6  101F                     move.b     D0, [A7]+
  1220. 00000CA8  660E                     bne        +0x10 /* 00000CB8 */
  1221. 00000CAA  206D EE96                movea.l    A0, [A5 - 0x116A]
  1222. 00000CAE  1028 0716                move.b     D0, [A0 + 0x716]
  1223. 00000CB2  6704                     beq        +0x6 /* 00000CB8 */
  1224. 00000CB4  4EAD 075A                jsr        [A5 + 0x75A /* export_231 */]
  1225. label00000CB8:
  1226. 00000CB8  6030                     bra        +0x32 /* 00000CEA */
  1227. label00000CBA:
  1228. 00000CBA  4EBA FCB4                jsr        [PC - 0x34C /* 00000970 */]
  1229. 00000CBE  602A                     bra        +0x2C /* 00000CEA */
  1230. label00000CC0:
  1231. 00000CC0  202D EE90                move.l     D0, [A5 - 0x1170]
  1232. 00000CC4  B0AD EE56                cmp.l      D0, [A5 - 0x11AA]
  1233. 00000CC8  670E                     beq        +0x10 /* 00000CD8 */
  1234. 00000CCA  42A7                     clr.l      -[A7]
  1235. 00000CCC  A975                     syscall    TickCount
  1236. 00000CCE  2B5F EE5A                move.l     [A5 - 0x11A6], [A7]+
  1237. 00000CD2  2B6D EE90 EE56           move.l     [A5 - 0x11AA], [A5 - 0x1170]
  1238. label00000CD8:
  1239. 00000CD8  42A7                     clr.l      -[A7]
  1240. 00000CDA  A924                     syscall    FrontWindow
  1241. 00000CDC  2B5F EE7C                move.l     [A5 - 0x1184], [A7]+
  1242. 00000CE0  4EBA FC28                jsr        [PC - 0x3D8 /* 0000090A */]
  1243. 00000CE4  6004                     bra        +0x6 /* 00000CEA */
  1244. label00000CE6:
  1245. 00000CE6  4EBA FDF2                jsr        [PC - 0x20E /* 00000ADA */]
  1246. label00000CEA:
  1247. 00000CEA  4EAD 077A                jsr        [A5 + 0x77A /* export_235 */]
  1248. 00000CEE  1D6D FF21 000C           move.b     [A6 + 0xC], [A5 - 0xDF]
  1249. 00000CF4  4E5E                     unlink     A6
  1250. 00000CF6  2E9F                     move.l     [A7], [A7]+
  1251. 00000CF8  4E75                     rts
  1252. fn00000CFA:
  1253. 00000CFA  4E56 FFFC                link       A6, -0x0004
  1254. 00000CFE  2D7C 0000 09DC FFFC      move.l     [A6 - 0x4], 0x9DC
  1255. 00000D06  206E FFFC                movea.l    A0, [A6 - 0x4]
  1256. 00000D0A  4250                     clr.w      [A0]
  1257. 00000D0C  4E5E                     unlink     A6
  1258. 00000D0E  4E75                     rts
  1259. fn00000D10:
  1260. 00000D10  4E56 FFF8                link       A6, -0x0008
  1261. 00000D14  2F0C                     move.l     -[A7], A4
  1262. 00000D16  286D EE96                movea.l    A4, [A5 - 0x116A]
  1263. 00000D1A  1B6C 0A33 FF1F           move.b     [A5 - 0xE1], [A4 + 0xA33]
  1264. 00000D20  102C 0A33                move.b     D0, [A4 + 0xA33]
  1265. 00000D24  6604                     bne        +0x6 /* 00000D2A */
  1266. 00000D26  6000 0082                bra        +0x84 /* 00000DAA */
  1267. label00000D2A:
  1268. 00000D2A  422C 0A33                clr.b      [A4 + 0xA33]
  1269. 00000D2E  2B6C 001A FF1A           move.l     [A5 - 0xE6], [A4 + 0x1A]
  1270. 00000D34  2F2C 001A                move.l     -[A7], [A4 + 0x1A]
  1271. 00000D38  A873                     syscall    SetPort
  1272. 00000D3A  206C 001A                movea.l    A0, [A4 + 0x1A]
  1273. 00000D3E  43EE FFF8                lea.l      A1, [A6 - 0x8]
  1274. 00000D42  41E8 0010                lea.l      A0, [A0 + 0x10]
  1275. 00000D46  22D8                     move.l     [A1]+, [A0]+
  1276. 00000D48  22D8                     move.l     [A1]+, [A0]+
  1277. 00000D4A  486E FFF8                pea.l      [A6 - 0x8]
  1278. 00000D4E  A870                     syscall    LocalToGlobal
  1279. 00000D50  486E FFFC                pea.l      [A6 - 0x4]
  1280. 00000D54  A870                     syscall    LocalToGlobal
  1281. 00000D56  4EBA FFA2                jsr        [PC - 0x5E /* 00000CFA */]
  1282. 00000D5A  102C 000D                move.b     D0, [A4 + 0xD]
  1283. 00000D5E  6724                     beq        +0x26 /* 00000D84 */
  1284. 00000D60  42A7                     clr.l      -[A7]
  1285. 00000D62  42A7                     clr.l      -[A7]
  1286. 00000D64  486E FFF8                pea.l      [A6 - 0x8]
  1287. 00000D68  487A 0046                pea.l      [PC + 0x46 /* 00000DB0, value 0x4E56 'NV', cstring "" */]
  1288. 00000D6C  1F3C 0001                move.b     -[A7], 0x1
  1289. 00000D70  3F3C 0002                move.w     -[A7], 0x2
  1290. 00000D74  70FF                     moveq.l    D0, 0xFFFFFFFF
  1291. 00000D76  2F00                     move.l     -[A7], D0
  1292. 00000D78  4267                     clr.w      -[A7]
  1293. 00000D7A  42A7                     clr.l      -[A7]
  1294. 00000D7C  AA45                     syscall    NewCWindow
  1295. 00000D7E  295F 001A                move.l     [A4 + 0x1A], [A7]+
  1296. 00000D82  6022                     bra        +0x24 /* 00000DA6 */
  1297. label00000D84:
  1298. 00000D84  42A7                     clr.l      -[A7]
  1299. 00000D86  42A7                     clr.l      -[A7]
  1300. 00000D88  486E FFF8                pea.l      [A6 - 0x8]
  1301. 00000D8C  487A 0022                pea.l      [PC + 0x22 /* 00000DB0, value 0x4E56 'NV', cstring "" */]
  1302. 00000D90  1F3C 0001                move.b     -[A7], 0x1
  1303. 00000D94  3F3C 0002                move.w     -[A7], 0x2
  1304. 00000D98  70FF                     moveq.l    D0, 0xFFFFFFFF
  1305. 00000D9A  2F00                     move.l     -[A7], D0
  1306. 00000D9C  4267                     clr.w      -[A7]
  1307. 00000D9E  42A7                     clr.l      -[A7]
  1308. 00000DA0  A913                     syscall    NewWindow
  1309. 00000DA2  295F 001A                move.l     [A4 + 0x1A], [A7]+
  1310. label00000DA6:
  1311. 00000DA6  4EAD 0B2A                jsr        [A5 + 0xB2A /* export_353 */]
  1312. label00000DAA:
  1313. 00000DAA  285F                     movea.l    A4, [A7]+
  1314. 00000DAC  4E5E                     unlink     A6
  1315. 00000DAE  4E75                     rts
  1316. 00000DB0  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1317. // begin alternate branch 00000DB2-00000DB8
  1318. fn00000DB2:
  1319. 00000DB2  4E56 0000                link       A6, 0
  1320. 00000DB6  2F0C                     move.l     -[A7], A4
  1321. // end alternate branch 00000DB2-00000DB8
  1322. fn00000DB2: // (misaligned)
  1323. 00000DB4  0000 2F0C                ori.b      D0, 0xC
  1324. 00000DB8  102D FF1F                move.b     D0, [A5 - 0xE1]
  1325. 00000DBC  671E                     beq        +0x20 /* 00000DDC */
  1326. 00000DBE  286D EE96                movea.l    A4, [A5 - 0x116A]
  1327. 00000DC2  197C 0001 0A33           move.b     [A4 + 0xA33], 0x1
  1328. 00000DC8  4EBA FF30                jsr        [PC - 0xD0 /* 00000CFA */]
  1329. 00000DCC  2F2C 001A                move.l     -[A7], [A4 + 0x1A]
  1330. 00000DD0  A914                     syscall    DisposeWindow
  1331. 00000DD2  296D FF1A 001A           move.l     [A4 + 0x1A], [A5 - 0xE6]
  1332. 00000DD8  4EAD 0B2A                jsr        [A5 + 0xB2A /* export_353 */]
  1333. label00000DDC:
  1334. 00000DDC  285F                     movea.l    A4, [A7]+
  1335. 00000DDE  4E5E                     unlink     A6
  1336. 00000DE0  4E75                     rts
  1337. fn00000DE2:
  1338. 00000DE2  4E56 FFF4                link       A6, -0x000C
  1339. 00000DE6  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  1340. 00000DEA  286D EE96                movea.l    A4, [A5 - 0x116A]
  1341. 00000DEE  206C 00E4                movea.l    A0, [A4 + 0xE4]
  1342. 00000DF2  1A28 074B                move.b     D5, [A0 + 0x74B]
  1343. 00000DF6  206C 00E4                movea.l    A0, [A4 + 0xE4]
  1344. 00000DFA  117C 0001 074B           move.b     [A0 + 0x74B], 0x1
  1345. 00000E00  486E FFFA                pea.l      [A6 - 0x6]
  1346. 00000E04  A874                     syscall    GetPort
  1347. 00000E06  4EBA FF08                jsr        [PC - 0xF8 /* 00000D10 */]
  1348. 00000E0A  2F2C 001A                move.l     -[A7], [A4 + 0x1A]
  1349. 00000E0E  A873                     syscall    SetPort
  1350. 00000E10  4EAD 0A22                jsr        [A5 + 0xA22 /* export_320 */]
  1351. label00000E14:
  1352. 00000E14  102C 000F                move.b     D0, [A4 + 0xF]
  1353. 00000E18  672C                     beq        +0x2E /* 00000E46 */
  1354. 00000E1A  102C 0734                move.b     D0, [A4 + 0x734]
  1355. 00000E1E  6704                     beq        +0x6 /* 00000E24 */
  1356. 00000E20  7C00                     moveq.l    D6, 0x00
  1357. 00000E22  6002                     bra        +0x4 /* 00000E26 */
  1358. label00000E24:
  1359. 00000E24  7C05                     moveq.l    D6, 0x05
  1360. label00000E26:
  1361. 00000E26  2F3C FFFF 0000           move.l     -[A7], 0xFFFF0000
  1362. 00000E2C  486D EE86                pea.l      [A5 - 0x117A]
  1363. 00000E30  2F06                     move.l     -[A7], D6
  1364. 00000E32  42A7                     clr.l      -[A7]
  1365. 00000E34  A860                     syscall    WaitNextEvent
  1366. 00000E36  1E1F                     move.b     D7, [A7]+
  1367. 00000E38  1007                     move.b     D0, D7
  1368. 00000E3A  6608                     bne        +0xA /* 00000E44 */
  1369. 00000E3C  4A6D EE86                tst.w      [A5 - 0x117A]
  1370. 00000E40  6702                     beq        +0x4 /* 00000E44 */
  1371. 00000E42  A9B4                     syscall    SystemTask
  1372. label00000E44:
  1373. 00000E44  6010                     bra        +0x12 /* 00000E56 */
  1374. label00000E46:
  1375. 00000E46  A9B4                     syscall    SystemTask
  1376. 00000E48  2F3C FFFF 0000           move.l     -[A7], 0xFFFF0000
  1377. 00000E4E  486D EE86                pea.l      [A5 - 0x117A]
  1378. 00000E52  A970                     syscall    GetNextEvent
  1379. 00000E54  1E1F                     move.b     D7, [A7]+
  1380. label00000E56:
  1381. 00000E56  102C 000D                move.b     D0, [A4 + 0xD]
  1382. 00000E5A  6704                     beq        +0x6 /* 00000E60 */
  1383. 00000E5C  4EAD 05E2                jsr        [A5 + 0x5E2 /* export_184 */]
  1384. label00000E60:
  1385. 00000E60  4A6D EE86                tst.w      [A5 - 0x117A]
  1386. 00000E64  57C0                     seq        D0
  1387. 00000E66  2207                     move.l     D1, D7
  1388. 00000E68  8200                     or.b       D1, D0
  1389. 00000E6A  0241 0001                andi.w     D1, 0x1
  1390. 00000E6E  670C                     beq        +0xE /* 00000E7C */
  1391. 00000E70  4267                     clr.w      -[A7]
  1392. 00000E72  486D EE86                pea.l      [A5 - 0x117A]
  1393. 00000E76  4EBA FD08                jsr        [PC - 0x2F8 /* 00000B80 */]
  1394. 00000E7A  1E1F                     move.b     D7, [A7]+
  1395. label00000E7C:
  1396. 00000E7C  102D EEE9                move.b     D0, [A5 - 0x1117]
  1397. 00000E80  6792                     beq        -0x6C /* 00000E14 */
  1398. 00000E82  4EAD 059A                jsr        [A5 + 0x59A /* export_175 */]
  1399. 00000E86  4EAD 073A                jsr        [A5 + 0x73A /* export_227 */]
  1400. 00000E8A  4AAC 0710                tst.l      [A4 + 0x710]
  1401. 00000E8E  6710                     beq        +0x12 /* 00000EA0 */
  1402. 00000E90  2F2C 0710                move.l     -[A7], [A4 + 0x710]
  1403. 00000E94  A93C                     syscall    SetMenuBar
  1404. 00000E96  A937                     syscall    DrawMenuBar
  1405. 00000E98  486C 0710                pea.l      [A4 + 0x710]
  1406. 00000E9C  4EAD 0A6A                jsr        [A5 + 0xA6A /* export_329 */]
  1407. label00000EA0:
  1408. 00000EA0  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  1409. 00000EA4  A873                     syscall    SetPort
  1410. 00000EA6  4EBA FF0A                jsr        [PC - 0xF6 /* 00000DB2 */]
  1411. 00000EAA  206C 00E4                movea.l    A0, [A4 + 0xE4]
  1412. 00000EAE  1145 074B                move.b     [A0 + 0x74B], D5
  1413. 00000EB2  4EBA F72C                jsr        [PC - 0x8D4 /* 000005E0 */]
  1414. 00000EB6  4CDF 10E0                movem.l    D5,D6,D7,A4, [A7]+
  1415. 00000EBA  4E5E                     unlink     A6
  1416. 00000EBC  4E75                     rts
  1417. fn00000EBE:
  1418. 00000EBE  41FA 129C                lea.l      A0, [PC + 0x129C /* 0000215C, value 0x11FE, cstring "" */]
  1419. 00000EC2  2010                     move.l     D0, [A0]
  1420. 00000EC4  4E75                     rts
  1421. fn00000EC6:
  1422. 00000EC6  48E7 FFF0                movem.l    -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3
  1423. 00000ECA  4247                     clr.w      D7
  1424. 00000ECC  41FA 128E                lea.l      A0, [PC + 0x128E /* 0000215C, value 0x11FE, cstring "" */]
  1425. 00000ED0  2218                     move.l     D1, [A0]+
  1426. 00000ED2  6F00 00C0                ble        +0xC2 /* 00000F94 */
  1427. 00000ED6  2A18                     move.l     D5, [A0]+
  1428. 00000ED8  6604                     bne        +0x6 /* 00000EDE */
  1429. 00000EDA  2A0D                     move.l     D5, A5
  1430. 00000EDC  9A81                     sub.l      D5, D1
  1431. label00000EDE:
  1432. 00000EDE  2645                     movea.l    A3, D5
  1433. 00000EE0  48E7 E0C0                movem.l    -[A7], D0,D1,D2,A0,A1
  1434. 00000EE4  2F0B                     move.l     -[A7], A3
  1435. 00000EE6  2F01                     move.l     -[A7], D1
  1436. 00000EE8  6100 00BE                bsr        +0xC0 /* 00000FA8 */
  1437. 00000EEC  4CDF 0307                movem.l    D0,D1,D2,A0,A1, [A7]+
  1438. 00000EF0  3018                     move.w     D0, [A0]+
  1439. 00000EF2  3E18                     move.w     D7, [A0]+
  1440. 00000EF4  6000 009A                bra        +0x9C /* 00000F90 */
  1441. label00000EF8:
  1442. 00000EF8  7800                     moveq.l    D4, 0x00
  1443. 00000EFA  1818                     move.b     D4, [A0]+
  1444. 00000EFC  2204                     move.l     D1, D4
  1445. 00000EFE  0201 000F                andi.b     D1, 0xF
  1446. 00000F02  0804 0004                btst.b     D4, 0x4
  1447. 00000F06  670E                     beq        +0x10 /* 00000F16 */
  1448. 00000F08  E141                     asl        D1.w, 8
  1449. 00000F0A  1218                     move.b     D1, [A0]+
  1450. 00000F0C  0881 000B                bclr.b     D1, 0xB
  1451. 00000F10  6704                     beq        +0x6 /* 00000F16 */
  1452. 00000F12  E181                     asl        D1, 8
  1453. 00000F14  1218                     move.b     D1, [A0]+
  1454. label00000F16:
  1455. 00000F16  7401                     moveq.l    D2, 0x01
  1456. 00000F18  0804 0007                btst.b     D4, 0x7
  1457. 00000F1C  6716                     beq        +0x18 /* 00000F34 */
  1458. 00000F1E  1418                     move.b     D2, [A0]+
  1459. 00000F20  0882 0007                bclr.b     D2, 0x7
  1460. 00000F24  670E                     beq        +0x10 /* 00000F34 */
  1461. 00000F26  E142                     asl        D2.w, 8
  1462. 00000F28  1418                     move.b     D2, [A0]+
  1463. 00000F2A  0882 000E                bclr.b     D2, 0xE
  1464. 00000F2E  6704                     beq        +0x6 /* 00000F34 */
  1465. 00000F30  E182                     asl        D2, 8
  1466. 00000F32  1418                     move.b     D2, [A0]+
  1467. label00000F34:
  1468. 00000F34  7C02                     moveq.l    D6, 0x02
  1469. 00000F36  4EBA 0062                jsr        [PC + 0x62 /* 00000F9A */]
  1470. 00000F3A  0885 000F                bclr.b     D5, 0xF
  1471. 00000F3E  6704                     beq        +0x6 /* 00000F44 */
  1472. 00000F40  E185                     asl        D5, 8
  1473. 00000F42  1A18                     move.b     D5, [A0]+
  1474. label00000F44:
  1475. 00000F44  43F3 5800                lea.l      A1, [A3 + D5]
  1476. 00000F48  2449                     movea.l    A2, A1
  1477. 00000F4A  0804 0005                btst.b     D4, 0x5
  1478. 00000F4E  671A                     beq        +0x1C /* 00000F6A */
  1479. 00000F50  2C01                     move.l     D6, D1
  1480. 00000F52  4EBA 0046                jsr        [PC + 0x46 /* 00000F9A */]
  1481. 00000F56  0C41 0002                cmpi.w     D1, 0x2
  1482. 00000F5A  6706                     beq        +0x8 /* 00000F62 */
  1483. 00000F5C  6D08                     blt        +0xA /* 00000F66 */
  1484. 00000F5E  DB92                     add.l      [A2], D5
  1485. 00000F60  6024                     bra        +0x26 /* 00000F86 */
  1486. label00000F62:
  1487. 00000F62  DB52                     add.w      [A2], D5
  1488. 00000F64  6020                     bra        +0x22 /* 00000F86 */
  1489. label00000F66:
  1490. 00000F66  DB12                     add.b      [A2], D5
  1491. 00000F68  601C                     bra        +0x1E /* 00000F86 */
  1492. label00000F6A:
  1493. 00000F6A  0C81 0000 0032           cmpi.l     D1, 0x32 /* '2' */
  1494. 00000F70  6510                     bcs        +0x12 /* 00000F82 */
  1495. 00000F72  2F00                     move.l     -[A7], D0
  1496. 00000F74  2001                     move.l     D0, D1
  1497. 00000F76  A02E                     syscall    BlockMove/BlockMoveData
  1498. 00000F78  201F                     move.l     D0, [A7]+
  1499. 00000F7A  D1C1                     add.l      A0, D1
  1500. 00000F7C  D3C1                     add.l      A1, D1
  1501. 00000F7E  6006                     bra        +0x8 /* 00000F86 */
  1502. label00000F80:
  1503. 00000F80  12D8                     move.b     [A1]+, [A0]+
  1504. label00000F82:
  1505. 00000F82  51C9 FFFC                dbf        D1, -0x6 /* 00000F80 */
  1506. label00000F86:
  1507. 00000F86  0804 0006                btst.b     D4, 0x6
  1508. 00000F8A  6704                     beq        +0x6 /* 00000F90 */
  1509. 00000F8C  260D                     move.l     D3, A5
  1510. 00000F8E  D792                     add.l      [A2], D3
  1511. label00000F90:
  1512. 00000F90  51C8 FF66                dbf        D0, -0x9C /* 00000EF8 */
  1513. label00000F94:
  1514. 00000F94  4CDF 0FFF                movem.l    D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3, [A7]+
  1515. 00000F98  4E75                     rts
  1516. fn00000F9A:
  1517. 00000F9A  7A00                     moveq.l    D5, 0x00
  1518. 00000F9C  6004                     bra        +0x6 /* 00000FA2 */
  1519. label00000F9E:
  1520. 00000F9E  E18D                     lsl        D5, 8
  1521. 00000FA0  1A18                     move.b     D5, [A0]+
  1522. label00000FA2:
  1523. 00000FA2  51CE FFFA                dbf        D6, -0x8 /* 00000F9E */
  1524. 00000FA6  4E75                     rts
  1525. fn00000FA8:
  1526. 00000FA8  7400                     moveq.l    D2, 0x00
  1527. 00000FAA  205F                     movea.l    A0, [A7]+
  1528. 00000FAC  201F                     move.l     D0, [A7]+
  1529. 00000FAE  225F                     movea.l    A1, [A7]+
  1530. 00000FB0  6728                     beq        +0x2A /* 00000FDA */
  1531. label00000FB2:
  1532. 00000FB2  3209                     move.w     D1, A1
  1533. 00000FB4  0241 0003                andi.w     D1, 0x3
  1534. 00000FB8  6708                     beq        +0xA /* 00000FC2 */
  1535. 00000FBA  12C2                     move.b     [A1]+, D2
  1536. 00000FBC  5380                     subq.l     D0, 1
  1537. 00000FBE  66F2                     bne        -0xC /* 00000FB2 */
  1538. 00000FC0  6018                     bra        +0x1A /* 00000FDA */
  1539. label00000FC2:
  1540. 00000FC2  2200                     move.l     D1, D0
  1541. 00000FC4  E489                     lsr        D1, 2
  1542. 00000FC6  6706                     beq        +0x8 /* 00000FCE */
  1543. label00000FC8:
  1544. 00000FC8  22C2                     move.l     [A1]+, D2
  1545. 00000FCA  5381                     subq.l     D1, 1
  1546. 00000FCC  66FA                     bne        -0x4 /* 00000FC8 */
  1547. label00000FCE:
  1548. 00000FCE  0240 0003                andi.w     D0, 0x3
  1549. 00000FD2  6002                     bra        +0x4 /* 00000FD6 */
  1550. label00000FD4:
  1551. 00000FD4  12C2                     move.b     [A1]+, D2
  1552. label00000FD6:
  1553. 00000FD6  51C8 FFFC                dbf        D0, -0x6 /* 00000FD4 */
  1554. label00000FDA:
  1555. 00000FDA  4ED0                     jmp        [A0]
  1556. fn00000FDC:
  1557. 00000FDC  4EBA FEE0                jsr        [PC - 0x120 /* 00000EBE */]
  1558. 00000FE0  0680 0000 0020           addi.l     D0, 0x20 /* ' ' */
  1559. 00000FE6  4E75                     rts
  1560. fn00000FE8:
  1561. 00000FE8  2F0D                     move.l     -[A7], A5
  1562. 00000FEA  200D                     move.l     D0, A5
  1563. 00000FEC  0800 0000                btst.b     D0, 0x0
  1564. 00000FF0  660C                     bne        +0xE /* 00000FFE */
  1565. 00000FF2  206F 0008                movea.l    A0, [A7 + 0x8]
  1566. 00000FF6  7007                     moveq.l    D0, 0x07
  1567. label00000FF8:
  1568. 00000FF8  20DD                     move.l     [A0]+, [A5]+
  1569. 00000FFA  51C8 FFFC                dbf        D0, -0x6 /* 00000FF8 */
  1570. label00000FFE:
  1571. 00000FFE  2A6F 0008                movea.l    A5, [A7 + 0x8]
  1572. 00001002  4EBA FEC2                jsr        [PC - 0x13E /* 00000EC6 */]
  1573. 00001006  2A5F                     movea.l    A5, [A7]+
  1574. 00001008  4E75                     rts
  1575. 0000100A  200D                     move.l     D0, A5
  1576. 0000100C  2A6F 0004                movea.l    A5, [A7 + 0x4]
  1577. 00001010  4E75                     rts
  1578. 00001012  2A6F 0004                movea.l    A5, [A7 + 0x4]
  1579. 00001016  4E75                     rts
  1580. 00001018  202F 0004                move.l     D0, [A7 + 0x4]
  1581. 0000101C  222F 0008                move.l     D1, [A7 + 0x8]
  1582. 00001020  2F02                     move.l     -[A7], D2
  1583. 00001022  2400                     move.l     D2, D0
  1584. 00001024  C4C1                     mulu.w     D2, D1
  1585. 00001026  2042                     movea.l    A0, D2
  1586. 00001028  2401                     move.l     D2, D1
  1587. 0000102A  4842                     swap.w     D2
  1588. 0000102C  C4C0                     mulu.w     D2, D0
  1589. 0000102E  4840                     swap.w     D0
  1590. 00001030  C2C0                     mulu.w     D1, D0
  1591. 00001032  D441                     add.w      D2, D1
  1592. 00001034  4842                     swap.w     D2
  1593. 00001036  4242                     clr.w      D2
  1594. 00001038  D1C2                     add.l      A0, D2
  1595. 0000103A  2008                     move.l     D0, A0
  1596. 0000103C  241F                     move.l     D2, [A7]+
  1597. 0000103E  4E75                     rts
  1598. 00001040  222F 0004                move.l     D1, [A7 + 0x4]
  1599. 00001044  202F 0008                move.l     D0, [A7 + 0x8]
  1600. 00001048  4EBA 000E                jsr        [PC + 0xE /* 00001058 */]
  1601. 0000104C  2001                     move.l     D0, D1
  1602. 0000104E  4E75                     rts
  1603. 00001050  222F 0004                move.l     D1, [A7 + 0x4]
  1604. 00001054  202F 0008                move.l     D0, [A7 + 0x8]
  1605. fn00001058:
  1606. 00001058  48E7 0600                movem.l    -[A7], D5,D6
  1607. 0000105C  2A00                     move.l     D5, D0
  1608. 0000105E  6A02                     bpl        +0x4 /* 00001062 */
  1609. 00001060  4480                     neg.l      D0
  1610. label00001062:
  1611. 00001062  2C01                     move.l     D6, D1
  1612. 00001064  6A02                     bpl        +0x4 /* 00001068 */
  1613. 00001066  4481                     neg.l      D1
  1614. label00001068:
  1615. 00001068  4EBA 001C                jsr        [PC + 0x1C /* 00001086 */]
  1616. 0000106C  4A85                     tst.l      D5
  1617. 0000106E  6A02                     bpl        +0x4 /* 00001072 */
  1618. 00001070  4480                     neg.l      D0
  1619. label00001072:
  1620. 00001072  BB86                     xor.l      D6, D5
  1621. 00001074  6A02                     bpl        +0x4 /* 00001078 */
  1622. 00001076  4481                     neg.l      D1
  1623. label00001078:
  1624. 00001078  4CDF 0060                movem.l    D5,D6, [A7]+
  1625. 0000107C  4E75                     rts
  1626. 0000107E  222F 0004                move.l     D1, [A7 + 0x4]
  1627. 00001082  202F 0008                move.l     D0, [A7 + 0x8]
  1628. fn00001086:
  1629. 00001086  48E7 3800                movem.l    -[A7], D2,D3,D4
  1630. 0000108A  2401                     move.l     D2, D1
  1631. 0000108C  4842                     swap.w     D2
  1632. 0000108E  4A42                     tst.w      D2
  1633. 00001090  661C                     bne        +0x1E /* 000010AE */
  1634. 00001092  3600                     move.w     D3, D0
  1635. 00001094  4240                     clr.w      D0
  1636. 00001096  4840                     swap.w     D0
  1637. 00001098  6704                     beq        +0x6 /* 0000109E */
  1638. 0000109A  80C1                     divu.w     D0, D1
  1639. 0000109C  3400                     move.w     D2, D0
  1640. label0000109E:
  1641. 0000109E  4842                     swap.w     D2
  1642. 000010A0  3003                     move.w     D0, D3
  1643. 000010A2  80C1                     divu.w     D0, D1
  1644. 000010A4  3400                     move.w     D2, D0
  1645. 000010A6  2202                     move.l     D1, D2
  1646. 000010A8  4240                     clr.w      D0
  1647. 000010AA  4840                     swap.w     D0
  1648. 000010AC  6022                     bra        +0x24 /* 000010D0 */
  1649. label000010AE:
  1650. 000010AE  2400                     move.l     D2, D0
  1651. 000010B0  4240                     clr.w      D0
  1652. 000010B2  4840                     swap.w     D0
  1653. 000010B4  4842                     swap.w     D2
  1654. 000010B6  4242                     clr.w      D2
  1655. 000010B8  2601                     move.l     D3, D1
  1656. 000010BA  7200                     moveq.l    D1, 0x00
  1657. 000010BC  780F                     moveq.l    D4, 0x0F
  1658. label000010BE:
  1659. 000010BE  D482                     add.l      D2, D2
  1660. 000010C0  D180                     addx.l     D0, D0
  1661. 000010C2  D281                     add.l      D1, D1
  1662. 000010C4  B083                     cmp.l      D0, D3
  1663. 000010C6  6D04                     blt        +0x6 /* 000010CC */
  1664. 000010C8  9083                     sub.l      D0, D3
  1665. 000010CA  5201                     addq.b     D1, 1
  1666. label000010CC:
  1667. 000010CC  51CC FFF0                dbf        D4, -0x12 /* 000010BE */
  1668. label000010D0:
  1669. 000010D0  4CDF 001C                movem.l    D2,D3,D4, [A7]+
  1670. 000010D4  4E75                     rts
  1671. 000010D6  225F                     movea.l    A1, [A7]+
  1672. 000010D8  201F                     move.l     D0, [A7]+
  1673. 000010DA  A04C                     syscall    CompactMem
  1674. 000010DC  2E80                     move.l     [A7], D0
  1675. 000010DE  4E71                     nop
  1676. label000010E0:
  1677. 000010E0  7000                     moveq.l    D0, 0x00
  1678. label000010E2:
  1679. 000010E2  2F09                     move.l     -[A7], A1
  1680. label000010E4:
  1681. 000010E4  31C0 0220                move.w     [0x00000220 /* MemErr */], D0
  1682. 000010E8  4E75                     rts
  1683. label000010EA:
  1684. 000010EA  7000                     moveq.l    D0, 0x00
  1685. 000010EC  60F6                     bra        -0x8 /* 000010E4 */
  1686. 000010EE  A01C                     syscall    FreeMem
  1687. 000010F0  2F40 0004                move.l     [A7 + 0x4], D0
  1688. 000010F4  4EFA FFF4                jmp        [PC - 0xC /* 000010EA */]
  1689. label000010F8:
  1690. 000010F8  225F                     movea.l    A1, [A7]+
  1691. 000010FA  205F                     movea.l    A0, [A7]+
  1692. 000010FC  A064                     syscall    MoveHHi
  1693. 000010FE  4ED1                     jmp        [A1]
  1694. fn00001100:
  1695. 00001100  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  1696. 00001104  6AF2                     bpl        -0xC /* 000010F8 */
  1697. 00001106  226F 0004                movea.l    A1, [A7 + 0x4]
  1698. 0000110A  48E7 1F3E                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A5,A6
  1699. 0000110E  2009                     move.l     D0, A1
  1700. 00001110  C0B8 031A                and.l      D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
  1701. 00001114  670C                     beq        +0xE /* 00001122 */
  1702. 00001116  2240                     movea.l    A1, D0
  1703. 00001118  2011                     move.l     D0, [A1]
  1704. 0000111A  C0B8 031A                and.l      D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
  1705. 0000111E  2040                     movea.l    A0, D0
  1706. 00001120  6606                     bne        +0x8 /* 00001128 */
  1707. label00001122:
  1708. 00001122  7093                     moveq.l    D0, 0xFFFFFF93
  1709. label00001124:
  1710. 00001124  6000 0162                bra        +0x164 /* 00001288 */
  1711. label00001128:
  1712. 00001128  2849                     movea.l    A4, A1
  1713. 0000112A  4A14                     tst.b      [A4]
  1714. 0000112C  6A04                     bpl        +0x6 /* 00001132 */
  1715. 0000112E  708B                     moveq.l    D0, 0xFFFFFF8B
  1716. 00001130  60F2                     bra        -0xC /* 00001124 */
  1717. label00001132:
  1718. 00001132  2C49                     movea.l    A6, A1
  1719. 00001134  2028 FFFC                move.l     D0, [A0 - 0x4]
  1720. 00001138  C0B8 031A                and.l      D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
  1721. 0000113C  9DC0                     sub.l      A6, D0
  1722. 0000113E  2656                     movea.l    A3, [A6]
  1723. 00001140  5188                     subq.l     A0, 8
  1724. 00001142  2210                     move.l     D1, [A0]
  1725. 00001144  C2B8 031A                and.l      D1, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
  1726. 00001148  2E01                     move.l     D7, D1
  1727. 0000114A  5187                     subq.l     D7, 8
  1728. 0000114C  7000                     moveq.l    D0, 0x00
  1729. 0000114E  D1C1                     add.l      A0, D1
  1730. 00001150  B1CB                     cmpa.l     A0, A3
  1731. 00001152  6400 0134                bcc        +0x136 /* 00001288 */
  1732. 00001156  4A10                     tst.b      [A0]
  1733. 00001158  6710                     beq        +0x12 /* 0000116A */
  1734. 0000115A  6A00 012C                bpl        +0x12E /* 00001288 */
  1735. 0000115E  2068 0004                movea.l    A0, [A0 + 0x4]
  1736. 00001162  D1CE                     add.l      A0, A6
  1737. 00001164  4A10                     tst.b      [A0]
  1738. 00001166  6B00 0120                bmi        +0x122 /* 00001288 */
  1739. label0000116A:
  1740. 0000116A  220F                     move.l     D1, A7
  1741. 0000116C  C2B8 031A                and.l      D1, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
  1742. 00001170  2078 02AA                movea.l    A0, [0x000002AA /* ApplZone */]
  1743. 00001174  9290                     sub.l      D1, [A0]
  1744. 00001176  243C 0000 0400           move.l     D2, 0x400
  1745. 0000117C  2002                     move.l     D0, D2
  1746. 0000117E  D087                     add.l      D0, D7
  1747. 00001180  B280                     cmp.l      D1, D0
  1748. 00001182  6D02                     blt        +0x4 /* 00001186 */
  1749. 00001184  2200                     move.l     D1, D0
  1750. label00001186:
  1751. 00001186  70FF                     moveq.l    D0, 0xFFFFFFFF
  1752. 00001188  B282                     cmp.l      D1, D2
  1753. 0000118A  6D00 00FC                blt        +0xFE /* 00001288 */
  1754. 0000118E  0482 0000 0080           subi.l     D2, 0x80
  1755. 00001194  9282                     sub.l      D1, D2
  1756. 00001196  9FC1                     sub.l      A7, D1
  1757. 00001198  9EFC 0016                sub.w      A7, 0x16
  1758. 0000119C  2A4F                     movea.l    A5, A7
  1759. 0000119E  2B41 0008                move.l     [A5 + 0x8], D1
  1760. 000011A2  2B78 0118 0012           move.l     [A5 + 0x12], [0x00000118 /* TheZone */]
  1761. 000011A8  21CE 0118                move.l     [0x00000118 /* TheZone */], A6
  1762. 000011AC  2054                     movea.l    A0, [A4]
  1763. 000011AE  5148                     subq.w     A0, 8
  1764. 000011B0  2A90                     move.l     [A5], [A0]
  1765. 000011B2  2014                     move.l     D0, [A4]
  1766. 000011B4  C0B8 031A                and.l      D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
  1767. 000011B8  2B40 000C                move.l     [A5 + 0xC], D0
  1768. 000011BC  1B54 0010                move.b     [A5 + 0x10], [A4]
  1769. 000011C0  6100 00D2                bsr        +0xD4 /* 00001294 */
  1770. 000011C4  4A12                     tst.b      [A2]
  1771. 000011C6  662A                     bne        +0x2C /* 000011F2 */
  1772. 000011C8  2212                     move.l     D1, [A2]
  1773. 000011CA  2001                     move.l     D0, D1
  1774. 000011CC  5180                     subq.l     D0, 8
  1775. 000011CE  BE80                     cmp.l      D7, D0
  1776. 000011D0  6220                     bhi        +0x22 /* 000011F2 */
  1777. 000011D2  9087                     sub.l      D0, D7
  1778. 000011D4  6706                     beq        +0x8 /* 000011DC */
  1779. 000011D6  740C                     moveq.l    D2, 0x0C
  1780. 000011D8  B082                     cmp.l      D0, D2
  1781. 000011DA  6516                     bcs        +0x18 /* 000011F2 */
  1782. label000011DC:
  1783. 000011DC  2054                     movea.l    A0, [A4]
  1784. 000011DE  224A                     movea.l    A1, A2
  1785. 000011E0  D3C1                     add.l      A1, D1
  1786. label000011E2:
  1787. 000011E2  2007                     move.l     D0, D7
  1788. 000011E4  93C0                     sub.l      A1, D0
  1789. 000011E6  91AE 000C                sub.l      [A6 + 0xC], D0
  1790. 000011EA  A02E                     syscall    BlockMove/BlockMoveData
  1791. 000011EC  204C                     movea.l    A0, A4
  1792. 000011EE  A02B                     syscall    EmptyHandle
  1793. 000011F0  6068                     bra        +0x6A /* 0000125A */
  1794. label000011F2:
  1795. 000011F2  7C00                     moveq.l    D6, 0x00
  1796. 000011F4  6100 00D8                bsr        +0xDA /* 000012CE */
  1797. 000011F8  6100 0112                bsr        +0x114 /* 0000130C */
  1798. 000011FC  6100 0096                bsr        +0x98 /* 00001294 */
  1799. label00001200:
  1800. 00001200  2212                     move.l     D1, [A2]
  1801. 00001202  202D 0004                move.l     D0, [A5 + 0x4]
  1802. 00001206  41ED 0016                lea.l      A0, [A5 + 0x16]
  1803. 0000120A  224A                     movea.l    A1, A2
  1804. 0000120C  D3C1                     add.l      A1, D1
  1805. 0000120E  93C0                     sub.l      A1, D0
  1806. 00001210  DC80                     add.l      D6, D0
  1807. 00001212  91AE 000C                sub.l      [A6 + 0xC], D0
  1808. 00001216  A02E                     syscall    BlockMove/BlockMoveData
  1809. 00001218  4A87                     tst.l      D7
  1810. 0000121A  673E                     beq        +0x40 /* 0000125A */
  1811. 0000121C  2009                     move.l     D0, A1
  1812. 0000121E  908A                     sub.l      D0, A2
  1813. 00001220  6716                     beq        +0x18 /* 00001238 */
  1814. 00001222  2200                     move.l     D1, D0
  1815. 00001224  5181                     subq.l     D1, 8
  1816. 00001226  9287                     sub.l      D1, D7
  1817. 00001228  650C                     bcs        +0xE /* 00001236 */
  1818. 0000122A  6706                     beq        +0x8 /* 00001232 */
  1819. 0000122C  740C                     moveq.l    D2, 0x0C
  1820. 0000122E  B481                     cmp.l      D2, D1
  1821. 00001230  6504                     bcs        +0x6 /* 00001236 */
  1822. label00001232:
  1823. 00001232  2054                     movea.l    A0, [A4]
  1824. 00001234  60AC                     bra        -0x52 /* 000011E2 */
  1825. label00001236:
  1826. 00001236  2480                     move.l     [A2], D0
  1827. label00001238:
  1828. 00001238  4CD1 0030                movem.l    D4,D5, [A1]
  1829. 0000123C  234E 0004                move.l     [A1 + 0x4], A6
  1830. 00001240  2286                     move.l     [A1], D6
  1831. 00001242  12BC 0040                move.b     [A1], 0x40 /* '@' */
  1832. 00001246  2F09                     move.l     -[A7], A1
  1833. 00001248  6100 0084                bsr        +0x86 /* 000012CE */
  1834. 0000124C  6100 00BE                bsr        +0xC0 /* 0000130C */
  1835. 00001250  6142                     bsr        +0x44 /* 00001294 */
  1836. 00001252  225F                     movea.l    A1, [A7]+
  1837. 00001254  48D1 0030                movem.l    [A1], D4,D5
  1838. 00001258  60A6                     bra        -0x58 /* 00001200 */
  1839. label0000125A:
  1840. 0000125A  5189                     subq.l     A1, 8
  1841. 0000125C  51AE 000C                subq.l     [A6 + 0xC], 8
  1842. 00001260  2009                     move.l     D0, A1
  1843. 00001262  908A                     sub.l      D0, A2
  1844. 00001264  6702                     beq        +0x4 /* 00001268 */
  1845. 00001266  2480                     move.l     [A2], D0
  1846. label00001268:
  1847. 00001268  2449                     movea.l    A2, A1
  1848. 0000126A  24D5                     move.l     [A2]+, [A5]
  1849. 0000126C  204C                     movea.l    A0, A4
  1850. 0000126E  91CE                     sub.l      A0, A6
  1851. 00001270  24C8                     move.l     [A2]+, A0
  1852. 00001272  288A                     move.l     [A4], A2
  1853. 00001274  18AD 0010                move.b     [A4], [A5 + 0x10]
  1854. 00001278  21ED 0012 0118           move.l     [0x00000118 /* TheZone */], [A5 + 0x12]
  1855. 0000127E  7000                     moveq.l    D0, 0x00
  1856. 00001280  DFED 0008                add.l      A7, [A5 + 0x8]
  1857. 00001284  DEFC 0016                add.w      A7, 0x16
  1858. label00001288:
  1859. 00001288  4CDF 7CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A5,A6, [A7]+
  1860. 0000128C  2E9F                     move.l     [A7], [A7]+
  1861. 0000128E  31C0 0220                move.w     [0x00000220 /* MemErr */], D0
  1862. 00001292  4E75                     rts
  1863. fn00001294:
  1864. 00001294  2014                     move.l     D0, [A4]
  1865. 00001296  670A                     beq        +0xC /* 000012A2 */
  1866. 00001298  C0B8 031A                and.l      D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
  1867. 0000129C  2040                     movea.l    A0, D0
  1868. 0000129E  5148                     subq.w     A0, 8
  1869. 000012A0  6004                     bra        +0x6 /* 000012A6 */
  1870. label000012A2:
  1871. 000012A2  41EE 0034                lea.l      A0, [A6 + 0x34]
  1872. label000012A6:
  1873. 000012A6  2210                     move.l     D1, [A0]
  1874. 000012A8  C2B8 031A                and.l      D1, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
  1875. 000012AC  4A10                     tst.b      [A0]
  1876. 000012AE  670C                     beq        +0xE /* 000012BC */
  1877. 000012B0  6A14                     bpl        +0x16 /* 000012C6 */
  1878. 000012B2  2268 0004                movea.l    A1, [A0 + 0x4]
  1879. 000012B6  D3CE                     add.l      A1, A6
  1880. 000012B8  4A11                     tst.b      [A1]
  1881. 000012BA  6B0A                     bmi        +0xC /* 000012C6 */
  1882. label000012BC:
  1883. 000012BC  2448                     movea.l    A2, A0
  1884. 000012BE  D1C1                     add.l      A0, D1
  1885. 000012C0  B1CB                     cmpa.l     A0, A3
  1886. 000012C2  65E2                     bcs        -0x1C /* 000012A6 */
  1887. 000012C4  6006                     bra        +0x8 /* 000012CC */
  1888. label000012C6:
  1889. 000012C6  B1ED 000C                cmpa.l     A0, [A5 + 0xC]
  1890. 000012CA  63F0                     bls        -0xE /* 000012BC */
  1891. label000012CC:
  1892. 000012CC  4E75                     rts
  1893. fn000012CE:
  1894. 000012CE  202D 0008                move.l     D0, [A5 + 0x8]
  1895. 000012D2  B087                     cmp.l      D0, D7
  1896. 000012D4  6D02                     blt        +0x4 /* 000012D8 */
  1897. 000012D6  2007                     move.l     D0, D7
  1898. label000012D8:
  1899. 000012D8  43ED 0016                lea.l      A1, [A5 + 0x16]
  1900. 000012DC  2054                     movea.l    A0, [A4]
  1901. 000012DE  D1C7                     add.l      A0, D7
  1902. 000012E0  91C0                     sub.l      A0, D0
  1903. 000012E2  9E80                     sub.l      D7, D0
  1904. 000012E4  2B40 0004                move.l     [A5 + 0x4], D0
  1905. 000012E8  2200                     move.l     D1, D0
  1906. 000012EA  A02E                     syscall    BlockMove/BlockMoveData
  1907. 000012EC  204C                     movea.l    A0, A4
  1908. 000012EE  2007                     move.l     D0, D7
  1909. 000012F0  6604                     bne        +0x6 /* 000012F6 */
  1910. 000012F2  A02B                     syscall    EmptyHandle
  1911. 000012F4  4E75                     rts
  1912. label000012F6:
  1913. 000012F6  2050                     movea.l    A0, [A0]
  1914. 000012F8  5148                     subq.w     A0, 8
  1915. 000012FA  1410                     move.b     D2, [A0]
  1916. 000012FC  5080                     addq.l     D0, 8
  1917. 000012FE  2080                     move.l     [A0], D0
  1918. 00001300  1082                     move.b     [A0], D2
  1919. 00001302  D1C0                     add.l      A0, D0
  1920. 00001304  2081                     move.l     [A0], D1
  1921. 00001306  D3AE 000C                add.l      [A6 + 0xC], D1
  1922. 0000130A  4E75                     rts
  1923. fn0000130C:
  1924. 0000130C  203C 0080 0000           move.l     D0, 0x800000
  1925. 00001312  A04C                     syscall    CompactMem
  1926. 00001314  4E75                     rts
  1927. 00001316  225F                     movea.l    A1, [A7]+
  1928. 00001318  201F                     move.l     D0, [A7]+
  1929. 0000131A  A11E                     syscall    NewPtr, flags=1
  1930. 0000131C  2E88                     move.l     [A7], A0
  1931. 0000131E  4EFA FDC2                jmp        [PC - 0x23E /* 000010E2 */]
  1932. 00001322  225F                     movea.l    A1, [A7]+
  1933. 00001324  205F                     movea.l    A0, [A7]+
  1934. 00001326  A01F                     syscall    DisposPtr/DisposePtr
  1935. 00001328  4EFA FDB8                jmp        [PC - 0x248 /* 000010E2 */]
  1936. 0000132C  225F                     movea.l    A1, [A7]+
  1937. 0000132E  201F                     move.l     D0, [A7]+
  1938. 00001330  205F                     movea.l    A0, [A7]+
  1939. 00001332  A020                     syscall    SetPtrSize
  1940. 00001334  4EFA FDAC                jmp        [PC - 0x254 /* 000010E2 */]
  1941. fn00001338:
  1942. 00001338  225F                     movea.l    A1, [A7]+
  1943. 0000133A  201F                     move.l     D0, [A7]+
  1944. 0000133C  A122                     syscall    NewHandle, flags=1
  1945. 0000133E  2E88                     move.l     [A7], A0
  1946. 00001340  4EFA FDA0                jmp        [PC - 0x260 /* 000010E2 */]
  1947. fn00001344:
  1948. 00001344  225F                     movea.l    A1, [A7]+
  1949. 00001346  205F                     movea.l    A0, [A7]+
  1950. 00001348  A023                     syscall    DisposHandle/DisposeHandle
  1951. 0000134A  4EFA FD96                jmp        [PC - 0x26A /* 000010E2 */]
  1952. 0000134E  225F                     movea.l    A1, [A7]+
  1953. 00001350  205F                     movea.l    A0, [A7]+
  1954. 00001352  A025                     syscall    GetHandleSize
  1955. 00001354  2E80                     move.l     [A7], D0
  1956. 00001356  6A06                     bpl        +0x8 /* 0000135E */
  1957. 00001358  4297                     clr.l      [A7]
  1958. 0000135A  4EFA FD86                jmp        [PC - 0x27A /* 000010E2 */]
  1959. label0000135E:
  1960. 0000135E  4EFA FD80                jmp        [PC - 0x280 /* 000010E0 */]
  1961. 00001362  225F                     movea.l    A1, [A7]+
  1962. 00001364  201F                     move.l     D0, [A7]+
  1963. 00001366  205F                     movea.l    A0, [A7]+
  1964. 00001368  A024                     syscall    SetHandleSize
  1965. 0000136A  4EFA FD76                jmp        [PC - 0x28A /* 000010E2 */]
  1966. fn0000136E:
  1967. 0000136E  225F                     movea.l    A1, [A7]+
  1968. 00001370  205F                     movea.l    A0, [A7]+
  1969. 00001372  A029                     syscall    HLock
  1970. 00001374  4EFA FD6C                jmp        [PC - 0x294 /* 000010E2 */]
  1971. 00001378  225F                     movea.l    A1, [A7]+
  1972. 0000137A  205F                     movea.l    A0, [A7]+
  1973. 0000137C  A02A                     syscall    HUnlock
  1974. 0000137E  4EFA FD62                jmp        [PC - 0x29E /* 000010E2 */]
  1975. 00001382  225F                     movea.l    A1, [A7]+
  1976. 00001384  205F                     movea.l    A0, [A7]+
  1977. 00001386  A049                     syscall    HPurge
  1978. 00001388  4EFA FD58                jmp        [PC - 0x2A8 /* 000010E2 */]
  1979. 0000138C  225F                     movea.l    A1, [A7]+
  1980. 0000138E  205F                     movea.l    A0, [A7]+
  1981. 00001390  A04A                     syscall    HNoPurge
  1982. 00001392  4EFA FD4E                jmp        [PC - 0x2B2 /* 000010E2 */]
  1983. fn00001396:
  1984. 00001396  221F                     move.l     D1, [A7]+
  1985. 00001398  201F                     move.l     D0, [A7]+
  1986. 0000139A  225F                     movea.l    A1, [A7]+
  1987. 0000139C  205F                     movea.l    A0, [A7]+
  1988. 0000139E  A02E                     syscall    BlockMove/BlockMoveData
  1989. 000013A0  2241                     movea.l    A1, D1
  1990. 000013A2  4EFA FD3E                jmp        [PC - 0x2C2 /* 000010E2 */]
  1991. 000013A6  225F                     movea.l    A1, [A7]+
  1992. 000013A8  301F                     move.w     D0, [A7]+
  1993. 000013AA  A146                     syscall    GetTrapAddress, flags=1
  1994. 000013AC  2E88                     move.l     [A7], A0
  1995. 000013AE  4ED1                     jmp        [A1]
  1996. fn000013B0:
  1997. 000013B0  225F                     movea.l    A1, [A7]+
  1998. 000013B2  121F                     move.b     D1, [A7]+
  1999. 000013B4  301F                     move.w     D0, [A7]+
  2000. 000013B6  2F09                     move.l     -[A7], A1
  2001. 000013B8  4A01                     tst.b      D1
  2002. 000013BA  6704                     beq        +0x6 /* 000013C0 */
  2003. 000013BC  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  2004. 000013BE  6002                     bra        +0x4 /* 000013C2 */
  2005. label000013C0:
  2006. 000013C0  A346                     syscall    GetOSTrapAddress, flags=3
  2007. label000013C2:
  2008. 000013C2  2F48 0004                move.l     [A7 + 0x4], A0
  2009. 000013C6  4E75                     rts
  2010. 000013C8  225F                     movea.l    A1, [A7]+
  2011. 000013CA  121F                     move.b     D1, [A7]+
  2012. 000013CC  301F                     move.w     D0, [A7]+
  2013. 000013CE  205F                     movea.l    A0, [A7]+
  2014. 000013D0  2F09                     move.l     -[A7], A1
  2015. 000013D2  4A01                     tst.b      D1
  2016. 000013D4  6704                     beq        +0x6 /* 000013DA */
  2017. 000013D6  A647                     syscall    SetToolBoxTrapAddress/SetToolTrapAddress, flags=6
  2018. 000013D8  6002                     bra        +0x4 /* 000013DC */
  2019. label000013DA:
  2020. 000013DA  A247                     syscall    SetOSTrapAddress, flags=2
  2021. label000013DC:
  2022. 000013DC  4E75                     rts
  2023. 000013DE  225F                     movea.l    A1, [A7]+
  2024. 000013E0  205F                     movea.l    A0, [A7]+
  2025. 000013E2  20B8 020C                move.l     [A0], [0x0000020C /* Time */]
  2026. 000013E6  4ED1                     jmp        [A1]
  2027. 000013E8  225F                     movea.l    A1, [A7]+
  2028. 000013EA  121F                     move.b     D1, [A7]+
  2029. 000013EC  205F                     movea.l    A0, [A7]+
  2030. 000013EE  7000                     moveq.l    D0, 0x00
  2031. 000013F0  1018                     move.b     D0, [A0]+
  2032. 000013F2  2F09                     move.l     -[A7], A1
  2033. 000013F4  4A01                     tst.b      D1
  2034. 000013F6  6704                     beq        +0x6 /* 000013FC */
  2035. 000013F8  A054                     syscall    UprString/UprText
  2036. 000013FA  6002                     bra        +0x4 /* 000013FE */
  2037. label000013FC:
  2038. 000013FC  A254                     syscall    UprString/UprText, flags=2
  2039. label000013FE:
  2040. 000013FE  4E75                     rts
  2041. 00001400  2078 02AE                movea.l    A0, [0x000002AE /* ROMBase */]
  2042. 00001404  D0FC 000A                add.w      A0, 0xA /* '\n' */
  2043. 00001408  4ED0                     jmp        [A0]
  2044. 0000140A  225F                     movea.l    A1, [A7]+
  2045. 0000140C  101F                     move.b     D0, [A7]+
  2046. 0000140E  205F                     movea.l    A0, [A7]+
  2047. 00001410  6604                     bne        +0x6 /* 00001416 */
  2048. 00001412  A000                     syscall    Open/PBHOpen/HOpen
  2049. 00001414  6002                     bra        +0x4 /* 00001418 */
  2050. label00001416:
  2051. 00001416  A400                     syscall    Open/PBHOpen/HOpen, flags=4
  2052. label00001418:
  2053. 00001418  3E80                     move.w     [A7], D0
  2054. 0000141A  4ED1                     jmp        [A1]
  2055. 0000141C  225F                     movea.l    A1, [A7]+
  2056. 0000141E  101F                     move.b     D0, [A7]+
  2057. 00001420  205F                     movea.l    A0, [A7]+
  2058. 00001422  6604                     bne        +0x6 /* 00001428 */
  2059. 00001424  A007                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo
  2060. 00001426  6002                     bra        +0x4 /* 0000142A */
  2061. label00001428:
  2062. 00001428  A407                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=4
  2063. label0000142A:
  2064. 0000142A  3E80                     move.w     [A7], D0
  2065. 0000142C  4ED1                     jmp        [A1]
  2066. 0000142E  225F                     movea.l    A1, [A7]+
  2067. 00001430  101F                     move.b     D0, [A7]+
  2068. 00001432  205F                     movea.l    A0, [A7]+
  2069. 00001434  6604                     bne        +0x6 /* 0000143A */
  2070. 00001436  A00C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo
  2071. 00001438  6002                     bra        +0x4 /* 0000143C */
  2072. label0000143A:
  2073. 0000143A  A40C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=4
  2074. label0000143C:
  2075. 0000143C  3E80                     move.w     [A7], D0
  2076. 0000143E  4ED1                     jmp        [A1]
  2077. 00001440  225F                     movea.l    A1, [A7]+
  2078. 00001442  101F                     move.b     D0, [A7]+
  2079. 00001444  205F                     movea.l    A0, [A7]+
  2080. 00001446  6604                     bne        +0x6 /* 0000144C */
  2081. 00001448  A00D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo
  2082. 0000144A  6002                     bra        +0x4 /* 0000144E */
  2083. label0000144C:
  2084. 0000144C  A40D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=4
  2085. label0000144E:
  2086. 0000144E  3E80                     move.w     [A7], D0
  2087. 00001450  4ED1                     jmp        [A1]
  2088. 00001452  4E56 FFCE                link       A6, -0x0032
  2089. 00001456  41EE FFCE                lea.l      A0, [A6 - 0x32]
  2090. 0000145A  316E 0008 0018           move.w     [A0 + 0x18], [A6 + 0x8]
  2091. 00001460  A001                     syscall    Close
  2092. 00001462  3D40 000A                move.w     [A6 + 0xA], D0
  2093. 00001466  4E5E                     unlink     A6
  2094. 00001468  205F                     movea.l    A0, [A7]+
  2095. 0000146A  548F                     addq.l     A7, 2
  2096. 0000146C  4ED0                     jmp        [A0]
  2097. 0000146E  51C1                     sf         D1
  2098. 00001470  6002                     bra        +0x4 /* 00001474 */
  2099. 00001472  50C1                     st         D1
  2100. label00001474:
  2101. 00001474  4E56 FFCE                link       A6, -0x0032
  2102. 00001478  41EE FFCE                lea.l      A0, [A6 - 0x32]
  2103. 0000147C  216E 0008 0020           move.l     [A0 + 0x20], [A6 + 0x8]
  2104. 00001482  316E 0010 0018           move.w     [A0 + 0x18], [A6 + 0x10]
  2105. 00001488  226E 000C                movea.l    A1, [A6 + 0xC]
  2106. 0000148C  2151 0024                move.l     [A0 + 0x24], [A1]
  2107. 00001490  4268 002C                clr.w      [A0 + 0x2C]
  2108. 00001494  42A8 002E                clr.l      [A0 + 0x2E]
  2109. 00001498  4A01                     tst.b      D1
  2110. 0000149A  6604                     bne        +0x6 /* 000014A0 */
  2111. 0000149C  A002                     syscall    Read
  2112. 0000149E  6002                     bra        +0x4 /* 000014A2 */
  2113. label000014A0:
  2114. 000014A0  A003                     syscall    Write
  2115. label000014A2:
  2116. 000014A2  3D40 0012                move.w     [A6 + 0x12], D0
  2117. 000014A6  226E 000C                movea.l    A1, [A6 + 0xC]
  2118. 000014AA  22A8 0028                move.l     [A1], [A0 + 0x28]
  2119. 000014AE  4E5E                     unlink     A6
  2120. 000014B0  225F                     movea.l    A1, [A7]+
  2121. 000014B2  DEFC 000A                add.w      A7, 0xA /* '\n' */
  2122. 000014B6  4ED1                     jmp        [A1]
  2123. 000014B8  4E56 FFB0                link       A6, -0x0050
  2124. 000014BC  41EE FFB0                lea.l      A0, [A6 - 0x50]
  2125. 000014C0  216E 000E 0012           move.l     [A0 + 0x12], [A6 + 0xE]
  2126. 000014C6  316E 000C 0016           move.w     [A0 + 0x16], [A6 + 0xC]
  2127. 000014CC  4228 001A                clr.b      [A0 + 0x1A]
  2128. 000014D0  4268 001C                clr.w      [A0 + 0x1C]
  2129. 000014D4  A00C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo
  2130. 000014D6  3D40 0012                move.w     [A6 + 0x12], D0
  2131. 000014DA  41E8 0020                lea.l      A0, [A0 + 0x20]
  2132. 000014DE  226E 0008                movea.l    A1, [A6 + 0x8]
  2133. 000014E2  7010                     moveq.l    D0, 0x10
  2134. 000014E4  A02E                     syscall    BlockMove/BlockMoveData
  2135. 000014E6  4E5E                     unlink     A6
  2136. 000014E8  225F                     movea.l    A1, [A7]+
  2137. 000014EA  DEFC 000A                add.w      A7, 0xA /* '\n' */
  2138. 000014EE  4ED1                     jmp        [A1]
  2139. 000014F0  4E56 FFC0                link       A6, -0x0040
  2140. 000014F4  41EE FFC0                lea.l      A0, [A6 - 0x40]
  2141. 000014F8  216E 000C 0012           move.l     [A0 + 0x12], [A6 + 0xC]
  2142. 000014FE  A014                     syscall    GetVol/PBHGetVol/HGetVol
  2143. 00001500  3D40 0010                move.w     [A6 + 0x10], D0
  2144. 00001504  226E 0008                movea.l    A1, [A6 + 0x8]
  2145. 00001508  32A8 0016                move.w     [A1], [A0 + 0x16]
  2146. 0000150C  4E5E                     unlink     A6
  2147. 0000150E  225F                     movea.l    A1, [A7]+
  2148. 00001510  508F                     addq.l     A7, 8
  2149. 00001512  4ED1                     jmp        [A1]
  2150. 00001514  4E56 FFC0                link       A6, -0x0040
  2151. 00001518  41EE FFC0                lea.l      A0, [A6 - 0x40]
  2152. 0000151C  216E 000A 0012           move.l     [A0 + 0x12], [A6 + 0xA]
  2153. 00001522  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  2154. 00001528  A015                     syscall    SetVol/PBHSetVol/HSetVol
  2155. 0000152A  3D40 000E                move.w     [A6 + 0xE], D0
  2156. 0000152E  4E5E                     unlink     A6
  2157. 00001530  225F                     movea.l    A1, [A7]+
  2158. 00001532  5C8F                     addq.l     A7, 6
  2159. 00001534  4ED1                     jmp        [A1]
  2160. 00001536  4E56 FFC0                link       A6, -0x0040
  2161. 0000153A  41EE FFC0                lea.l      A0, [A6 - 0x40]
  2162. 0000153E  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  2163. 00001544  216E 000A 0012           move.l     [A0 + 0x12], [A6 + 0xA]
  2164. 0000154A  A017                     syscall    Eject
  2165. 0000154C  3D40 000E                move.w     [A6 + 0xE], D0
  2166. 00001550  4E5E                     unlink     A6
  2167. 00001552  225F                     movea.l    A1, [A7]+
  2168. 00001554  5C8F                     addq.l     A7, 6
  2169. 00001556  4ED1                     jmp        [A1]
  2170. 00001558  4E56 FFC0                link       A6, -0x0040
  2171. 0000155C  41EE FFC0                lea.l      A0, [A6 - 0x40]
  2172. 00001560  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  2173. 00001566  216E 000A 0012           move.l     [A0 + 0x12], [A6 + 0xA]
  2174. 0000156C  A013                     syscall    FlushVol
  2175. 0000156E  3D40 000E                move.w     [A6 + 0xE], D0
  2176. 00001572  4E5E                     unlink     A6
  2177. 00001574  225F                     movea.l    A1, [A7]+
  2178. 00001576  5C8F                     addq.l     A7, 6
  2179. 00001578  4ED1                     jmp        [A1]
  2180. 0000157A  4E56 FFB0                link       A6, -0x0050
  2181. 0000157E  41EE FFB0                lea.l      A0, [A6 - 0x50]
  2182. 00001582  216E 0012 0012           move.l     [A0 + 0x12], [A6 + 0x12]
  2183. 00001588  316E 0010 0016           move.w     [A0 + 0x16], [A6 + 0x10]
  2184. 0000158E  4228 001A                clr.b      [A0 + 0x1A]
  2185. 00001592  A008                     syscall    Create/PBHCreate/HCreate
  2186. 00001594  4A40                     tst.w      D0
  2187. 00001596  6614                     bne        +0x16 /* 000015AC */
  2188. 00001598  4268 001C                clr.w      [A0 + 0x1C]
  2189. 0000159C  A00C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo
  2190. 0000159E  43E8 0020                lea.l      A1, [A0 + 0x20]
  2191. 000015A2  22EE 0008                move.l     [A1]+, [A6 + 0x8]
  2192. 000015A6  22AE 000C                move.l     [A1], [A6 + 0xC]
  2193. 000015AA  A00D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo
  2194. label000015AC:
  2195. 000015AC  3D40 0016                move.w     [A6 + 0x16], D0
  2196. 000015B0  4E5E                     unlink     A6
  2197. 000015B2  225F                     movea.l    A1, [A7]+
  2198. 000015B4  DEFC 000E                add.w      A7, 0xE
  2199. 000015B8  4ED1                     jmp        [A1]
  2200. 000015BA  4E56 FFCE                link       A6, -0x0032
  2201. 000015BE  41EE FFCE                lea.l      A0, [A6 - 0x32]
  2202. 000015C2  216E 000A 0012           move.l     [A0 + 0x12], [A6 + 0xA]
  2203. 000015C8  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  2204. 000015CE  4228 001A                clr.b      [A0 + 0x1A]
  2205. 000015D2  A009                     syscall    Delete/PBHDelete/HDelete
  2206. 000015D4  3D40 000E                move.w     [A6 + 0xE], D0
  2207. 000015D8  4E5E                     unlink     A6
  2208. 000015DA  225F                     movea.l    A1, [A7]+
  2209. 000015DC  5C8F                     addq.l     A7, 6
  2210. 000015DE  4ED1                     jmp        [A1]
  2211. 000015E0  4E56 FFCE                link       A6, -0x0032
  2212. 000015E4  41EE FFCE                lea.l      A0, [A6 - 0x32]
  2213. 000015E8  316E 000E 0018           move.w     [A0 + 0x18], [A6 + 0xE]
  2214. 000015EE  316E 000C 002C           move.w     [A0 + 0x2C], [A6 + 0xC]
  2215. 000015F4  216E 0008 002E           move.l     [A0 + 0x2E], [A6 + 0x8]
  2216. 000015FA  A044                     syscall    SetFPos
  2217. 000015FC  3D40 0010                move.w     [A6 + 0x10], D0
  2218. 00001600  4E5E                     unlink     A6
  2219. 00001602  225F                     movea.l    A1, [A7]+
  2220. 00001604  508F                     addq.l     A7, 8
  2221. 00001606  4ED1                     jmp        [A1]
  2222. 00001608  225F                     movea.l    A1, [A7]+
  2223. 0000160A  101F                     move.b     D0, [A7]+
  2224. 0000160C  205F                     movea.l    A0, [A7]+
  2225. 0000160E  6606                     bne        +0x8 /* 00001616 */
  2226. 00001610  7001                     moveq.l    D0, 0x01
  2227. 00001612  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2228. 00001614  6004                     bra        +0x6 /* 0000161A */
  2229. label00001616:
  2230. 00001616  7001                     moveq.l    D0, 0x01
  2231. 00001618  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2232. label0000161A:
  2233. 0000161A  3E80                     move.w     [A7], D0
  2234. 0000161C  4ED1                     jmp        [A1]
  2235. 0000161E  206F 0006                movea.l    A0, [A7 + 0x6]
  2236. 00001622  4228 001A                clr.b      [A0 + 0x1A]
  2237. 00001626  225F                     movea.l    A1, [A7]+
  2238. 00001628  101F                     move.b     D0, [A7]+
  2239. 0000162A  205F                     movea.l    A0, [A7]+
  2240. 0000162C  6606                     bne        +0x8 /* 00001634 */
  2241. 0000162E  7009                     moveq.l    D0, 0x09
  2242. 00001630  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2243. 00001632  6004                     bra        +0x6 /* 00001638 */
  2244. label00001634:
  2245. 00001634  7009                     moveq.l    D0, 0x09
  2246. 00001636  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2247. label00001638:
  2248. 00001638  3E80                     move.w     [A7], D0
  2249. 0000163A  4ED1                     jmp        [A1]
  2250. 0000163C  225F                     movea.l    A1, [A7]+
  2251. 0000163E  101F                     move.b     D0, [A7]+
  2252. 00001640  205F                     movea.l    A0, [A7]+
  2253. 00001642  6604                     bne        +0x6 /* 00001648 */
  2254. 00001644  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  2255. 00001646  6002                     bra        +0x4 /* 0000164A */
  2256. label00001648:
  2257. 00001648  A607                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=6
  2258. label0000164A:
  2259. 0000164A  3E80                     move.w     [A7], D0
  2260. 0000164C  4ED1                     jmp        [A1]
  2261. fn0000164E:
  2262. 0000164E  225F                     movea.l    A1, [A7]+
  2263. 00001650  201F                     move.l     D0, [A7]+
  2264. 00001652  305F                     movea.w    A0, [A7]+
  2265. 00001654  A02F                     syscall    PostEvent/PPostEvent
  2266. 00001656  3E80                     move.w     [A7], D0
  2267. 00001658  4ED1                     jmp        [A1]
  2268. 0000165A  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  2269. 0000165E  6B24                     bmi        +0x26 /* 00001684 */
  2270. 00001660  205F                     movea.l    A0, [A7]+
  2271. 00001662  301F                     move.w     D0, [A7]+
  2272. 00001664  2F08                     move.l     -[A7], A0
  2273. 00001666  4E56 FFE0                link       A6, -0x0020
  2274. 0000166A  41EE FFE0                lea.l      A0, [A6 - 0x20]
  2275. 0000166E  317C FFFC 0018           move.w     [A0 + 0x18], 0xFFFC
  2276. 00001674  317C 0002 001A           move.w     [A0 + 0x1A], 0x2
  2277. 0000167A  3140 001C                move.w     [A0 + 0x1C], D0
  2278. 0000167E  A204                     syscall    Control, flags=2
  2279. 00001680  4E5E                     unlink     A6
  2280. 00001682  4E75                     rts
  2281. label00001684:
  2282. 00001684  205F                     movea.l    A0, [A7]+
  2283. 00001686  301F                     move.w     D0, [A7]+
  2284. 00001688  2F08                     move.l     -[A7], A0
  2285. 0000168A  0C39 00FF 0040 0009      cmpi.b     [0x00400009], 0xFF
  2286. 00001692  6724                     beq        +0x26 /* 000016B8 */
  2287. 00001694  40E7                     move.w     -[A7], SR
  2288. 00001696  007C 0300                ori.w      sr, 768
  2289. 0000169A  1239 00EF FFFE           move.b     D1, [0x00EFFFFE]
  2290. 000016A0  0241 00F8                andi.w     D1, 0xF8
  2291. 000016A4  0240 0007                andi.w     D0, 0x7
  2292. 000016A8  11C0 0260                move.b     [0x00000260 /* SdVolume */], D0
  2293. 000016AC  8240                     or.w       D1, D0
  2294. 000016AE  13C1 00EF FFFE           move.b     [0x00EFFFFE], D1
  2295. 000016B4  46DF                     move.w     SR, [A7]+
  2296. 000016B6  4E75                     rts
  2297. label000016B8:
  2298. 000016B8  0240 0007                andi.w     D0, 0x7
  2299. 000016BC  11C0 0260                move.b     [0x00000260 /* SdVolume */], D0
  2300. 000016C0  E348                     lsl        D0.w, 1
  2301. 000016C2  1239 00FC DD81           move.b     D1, [0x00FCDD81]
  2302. 000016C8  0201 00F1                andi.b     D1, 0xF1
  2303. 000016CC  8200                     or.b       D1, D0
  2304. 000016CE  13C1 00FC DD81           move.b     [0x00FCDD81], D1
  2305. 000016D4  4E75                     rts
  2306. 000016D6  205F                     movea.l    A0, [A7]+
  2307. 000016D8  225F                     movea.l    A1, [A7]+
  2308. 000016DA  4219                     clr.b      [A1]+
  2309. 000016DC  12B8 0260                move.b     [A1], [0x00000260 /* SdVolume */]
  2310. 000016E0  4ED0                     jmp        [A0]
  2311. 000016E2  A061                     syscall    MaxBlock
  2312. 000016E4  2F40 0004                move.l     [A7 + 0x4], D0
  2313. 000016E8  4E75                     rts
  2314. 000016EA  225F                     movea.l    A1, [A7]+
  2315. 000016EC  205F                     movea.l    A0, [A7]+
  2316. 000016EE  A069                     syscall    HGetState
  2317. 000016F0  1E80                     move.b     [A7], D0
  2318. 000016F2  4ED1                     jmp        [A1]
  2319. 000016F4  225F                     movea.l    A1, [A7]+
  2320. 000016F6  101F                     move.b     D0, [A7]+
  2321. 000016F8  205F                     movea.l    A0, [A7]+
  2322. 000016FA  A06A                     syscall    HSetState
  2323. 000016FC  4ED1                     jmp        [A1]
  2324. 000016FE  206F 0004                movea.l    A0, [A7 + 0x4]
  2325. 00001702  2050                     movea.l    A0, [A0]
  2326. 00001704  A9E1                     syscall    HandToHand
  2327. 00001706  226F 0004                movea.l    A1, [A7 + 0x4]
  2328. 0000170A  2288                     move.l     [A1], A0
  2329. 0000170C  3F40 0008                move.w     [A7 + 0x8], D0
  2330. 00001710  2E9F                     move.l     [A7], [A7]+
  2331. 00001712  4E75                     rts
  2332. 00001714  221F                     move.l     D1, [A7]+
  2333. 00001716  201F                     move.l     D0, [A7]+
  2334. 00001718  225F                     movea.l    A1, [A7]+
  2335. 0000171A  205F                     movea.l    A0, [A7]+
  2336. 0000171C  2F01                     move.l     -[A7], D1
  2337. 0000171E  A9E2                     syscall    PtrToXHand
  2338. 00001720  3F40 0004                move.w     [A7 + 0x4], D0
  2339. 00001724  4E75                     rts
  2340. 00001726  206F 000C                movea.l    A0, [A7 + 0xC]
  2341. 0000172A  202F 0004                move.l     D0, [A7 + 0x4]
  2342. 0000172E  A9E3                     syscall    PtrToHand
  2343. 00001730  3F40 0010                move.w     [A7 + 0x10], D0
  2344. 00001734  226F 0008                movea.l    A1, [A7 + 0x8]
  2345. 00001738  2288                     move.l     [A1], A0
  2346. 0000173A  205F                     movea.l    A0, [A7]+
  2347. 0000173C  DEFC 000C                add.w      A7, 0xC
  2348. 00001740  4ED0                     jmp        [A0]
  2349. 00001742  4E56 0000                link       A6, 0
  2350. 00001746  594F                     subq.w     A7, 4
  2351. 00001748  2F3C 5354 5223           move.l     -[A7], 0x53545223 /* 'STR#' */
  2352. 0000174E  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  2353. 00001752  A9A0                     syscall    GetResource
  2354. 00001754  226E 000C                movea.l    A1, [A6 + 0xC]
  2355. 00001758  4211                     clr.b      [A1]
  2356. 0000175A  201F                     move.l     D0, [A7]+
  2357. 0000175C  6720                     beq        +0x22 /* 0000177E */
  2358. 0000175E  2040                     movea.l    A0, D0
  2359. 00001760  2050                     movea.l    A0, [A0]
  2360. 00001762  3018                     move.w     D0, [A0]+
  2361. 00001764  322E 0008                move.w     D1, [A6 + 0x8]
  2362. 00001768  B240                     cmp.w      D1, D0
  2363. 0000176A  6E12                     bgt        +0x14 /* 0000177E */
  2364. 0000176C  7000                     moveq.l    D0, 0x00
  2365. label0000176E:
  2366. 0000176E  5341                     subq.w     D1, 1
  2367. 00001770  6706                     beq        +0x8 /* 00001778 */
  2368. 00001772  1018                     move.b     D0, [A0]+
  2369. 00001774  D1C0                     add.l      A0, D0
  2370. 00001776  60F6                     bra        -0x8 /* 0000176E */
  2371. label00001778:
  2372. 00001778  1010                     move.b     D0, [A0]
  2373. 0000177A  5240                     addq.w     D0, 1
  2374. 0000177C  A02E                     syscall    BlockMove/BlockMoveData
  2375. label0000177E:
  2376. 0000177E  4E5E                     unlink     A6
  2377. 00001780  205F                     movea.l    A0, [A7]+
  2378. 00001782  508F                     addq.l     A7, 8
  2379. 00001784  4ED0                     jmp        [A0]
  2380. 00001786  4E56 0000                link       A6, 0
  2381. 0000178A  594F                     subq.w     A7, 4
  2382. 0000178C  2F3C 5041 5423           move.l     -[A7], 0x50415423 /* 'PAT#' */
  2383. 00001792  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  2384. 00001796  A9A0                     syscall    GetResource
  2385. 00001798  226E 000C                movea.l    A1, [A6 + 0xC]
  2386. 0000179C  201F                     move.l     D0, [A7]+
  2387. 0000179E  671C                     beq        +0x1E /* 000017BC */
  2388. 000017A0  2040                     movea.l    A0, D0
  2389. 000017A2  2050                     movea.l    A0, [A0]
  2390. 000017A4  3018                     move.w     D0, [A0]+
  2391. 000017A6  322E 0008                move.w     D1, [A6 + 0x8]
  2392. 000017AA  6F10                     ble        +0x12 /* 000017BC */
  2393. 000017AC  B240                     cmp.w      D1, D0
  2394. 000017AE  6E0C                     bgt        +0xE /* 000017BC */
  2395. label000017B0:
  2396. 000017B0  5341                     subq.w     D1, 1
  2397. 000017B2  6704                     beq        +0x6 /* 000017B8 */
  2398. 000017B4  5048                     addq.w     A0, 8
  2399. 000017B6  60F8                     bra        -0x6 /* 000017B0 */
  2400. label000017B8:
  2401. 000017B8  7008                     moveq.l    D0, 0x08
  2402. 000017BA  A02E                     syscall    BlockMove/BlockMoveData
  2403. label000017BC:
  2404. 000017BC  4E5E                     unlink     A6
  2405. 000017BE  205F                     movea.l    A0, [A7]+
  2406. 000017C0  508F                     addq.l     A7, 8
  2407. 000017C2  4ED0                     jmp        [A0]
  2408. 000017C4  2F78 09EE 0004           move.l     [A7 + 0x4], [0x000009EE /* GrayRgn */]
  2409. 000017CA  4E75                     rts
  2410. fn000017CC:
  2411. 000017CC  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  2412. 000017D0  6B22                     bmi        +0x24 /* 000017F4 */
  2413. 000017D2  303C 0090                move.w     D0, 0x90
  2414. 000017D6  A346                     syscall    GetOSTrapAddress, flags=3
  2415. 000017D8  2248                     movea.l    A1, A0
  2416. 000017DA  303C 009F                move.w     D0, 0x9F
  2417. 000017DE  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  2418. 000017E0  B3C8                     cmpa.l     A1, A0
  2419. 000017E2  6710                     beq        +0x12 /* 000017F4 */
  2420. 000017E4  225F                     movea.l    A1, [A7]+
  2421. 000017E6  205F                     movea.l    A0, [A7]+
  2422. 000017E8  301F                     move.w     D0, [A7]+
  2423. 000017EA  2F09                     move.l     -[A7], A1
  2424. 000017EC  A090                     syscall    SysEnvirons
  2425. 000017EE  3F40 0004                move.w     [A7 + 0x4], D0
  2426. 000017F2  4E75                     rts
  2427. label000017F4:
  2428. 000017F4  206F 0004                movea.l    A0, [A7 + 0x4]
  2429. 000017F8  303C 0001                move.w     D0, 0x1
  2430. 000017FC  2248                     movea.l    A1, A0
  2431. 000017FE  6006                     bra        +0x8 /* 00001806 */
  2432. 00001800  0313                     btst       [A3], D1
  2433. 00001802  0B02                     btst       D2, D5
  2434. 00001804  0100                     btst       D0, D0
  2435. label00001806:
  2436. 00001806  303C 0010                move.w     D0, 0x10
  2437. 0000180A  E240                     asr        D0.w, 1
  2438. 0000180C  5340                     subq.w     D0, 1
  2439. label0000180E:
  2440. 0000180E  4258                     clr.w      [A0]+
  2441. 00001810  51C8 FFFC                dbf        D0, -0x6 /* 0000180E */
  2442. 00001814  32BC 0001                move.w     [A1], 0x1
  2443. 00001818  2078 02AE                movea.l    A0, [0x000002AE /* ROMBase */]
  2444. 0000181C  337C FFFE 0002           move.w     [A1 + 0x2], 0xFFFE
  2445. 00001822  0C28 00FF 0009           cmpi.b     [A0 + 0x9], 0xFF
  2446. 00001828  6742                     beq        +0x44 /* 0000186C */
  2447. 0000182A  4A28 0008                tst.b      [A0 + 0x8]
  2448. 0000182E  6E20                     bgt        +0x22 /* 00001850 */
  2449. 00001830  337C FFFF 0002           move.w     [A1 + 0x2], 0xFFFF
  2450. 00001836  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  2451. 0000183A  6B30                     bmi        +0x32 /* 0000186C */
  2452. 0000183C  337C 0001 0002           move.w     [A1 + 0x2], 0x1
  2453. 00001842  4A78 0B22                tst.w      [0x00000B22 /* HWCfgFlags */]
  2454. 00001846  6A24                     bpl        +0x26 /* 0000186C */
  2455. 00001848  337C 0002 0002           move.w     [A1 + 0x2], 0x2
  2456. 0000184E  601C                     bra        +0x1E /* 0000186C */
  2457. label00001850:
  2458. 00001850  4269 0002                clr.w      [A1 + 0x2]
  2459. 00001854  0C28 0002 0008           cmpi.b     [A0 + 0x8], 0x2
  2460. 0000185A  6E10                     bgt        +0x12 /* 0000186C */
  2461. 0000185C  6708                     beq        +0xA /* 00001866 */
  2462. 0000185E  337C 0004 0002           move.w     [A1 + 0x2], 0x4
  2463. 00001864  6006                     bra        +0x8 /* 0000186C */
  2464. label00001866:
  2465. 00001866  337C 0003 0002           move.w     [A1 + 0x2], 0x3
  2466. label0000186C:
  2467. 0000186C  4269 0004                clr.w      [A1 + 0x4]
  2468. 00001870  0C38 0002 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x2
  2469. 00001876  6E0A                     bgt        +0xC /* 00001882 */
  2470. 00001878  1038 012F                move.b     D0, [0x0000012F /* CPUFlag */]
  2471. 0000187C  5240                     addq.w     D0, 1
  2472. 0000187E  1340 0007                move.b     [A1 + 0x7], D0
  2473. label00001882:
  2474. 00001882  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  2475. 00001886  6B0E                     bmi        +0x10 /* 00001896 */
  2476. 00001888  0838 0004 0B22           btst.b     [0x00000B22 /* HWCfgFlags */], 0x4
  2477. 0000188E  6706                     beq        +0x8 /* 00001896 */
  2478. 00001890  137C 0001 0008           move.b     [A1 + 0x8], 0x1
  2479. label00001896:
  2480. 00001896  0C78 3FFF 028E           cmpi.w     [0x0000028E /* ROM85 */], 0x3FFF
  2481. 0000189C  6206                     bhi        +0x8 /* 000018A4 */
  2482. 0000189E  137C 0001 0009           move.b     [A1 + 0x9], 0x1
  2483. label000018A4:
  2484. 000018A4  1038 021E                move.b     D0, [0x0000021E /* KbdType */]
  2485. 000018A8  41FA FF5B                lea.l      A0, [PC - 0xA5 /* 00001805, value 0x303C00 '0<\0', cstring "" */]
  2486. 000018AC  323C 0004                move.w     D1, 0x4
  2487. label000018B0:
  2488. 000018B0  B020                     cmp.b      D0, -[A0]
  2489. 000018B2  57C9 FFFC                dbeq       D1, -0x6 /* 000018B0 */
  2490. 000018B6  5241                     addq.w     D1, 1
  2491. 000018B8  3341 000A                move.w     [A1 + 0xA], D1
  2492. 000018BC  4A38 0291                tst.b      [0x00000291 /* PortBUse */]
  2493. 000018C0  6B18                     bmi        +0x1A /* 000018DA */
  2494. 000018C2  1238 01FB                move.b     D1, [0x000001FB /* SPConfig */]
  2495. 000018C6  0201 000F                andi.b     D1, 0xF
  2496. 000018CA  0C01 0001                cmpi.b     D1, 0x1
  2497. 000018CE  660A                     bne        +0xC /* 000018DA */
  2498. 000018D0  2078 02DC                movea.l    A0, [0x000002DC /* ABusDCE */]
  2499. 000018D4  1368 0007 000D           move.b     [A1 + 0xD], [A0 + 0x7]
  2500. label000018DA:
  2501. 000018DA  3378 0210 000E           move.w     [A1 + 0xE], [0x00000210 /* BootDrive */]
  2502. 000018E0  4A78 03F6                tst.w      [0x000003F6 /* FSFCBLen */]
  2503. 000018E4  6D44                     blt        +0x46 /* 0000192A */
  2504. 000018E6  4269 000E                clr.w      [A1 + 0xE]
  2505. 000018EA  323C 003C                move.w     D1, 0x3C /* '<' */
  2506. label000018EE:
  2507. 000018EE  4267                     clr.w      -[A7]
  2508. 000018F0  51C9 FFFC                dbf        D1, -0x6 /* 000018EE */
  2509. 000018F4  204F                     movea.l    A0, A7
  2510. 000018F6  3178 0A58 0018           move.w     [A0 + 0x18], [0x00000A58 /* SysMap */]
  2511. 000018FC  7008                     moveq.l    D0, 0x08
  2512. 000018FE  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2513. 00001900  6624                     bne        +0x26 /* 00001926 */
  2514. 00001902  3168 0034 0016           move.w     [A0 + 0x16], [A0 + 0x34]
  2515. 00001908  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  2516. 0000190A  661A                     bne        +0x1C /* 00001926 */
  2517. 0000190C  2168 005A 0030           move.l     [A0 + 0x30], [A0 + 0x5A]
  2518. 00001912  217C 4552 494B 001C      move.l     [A0 + 0x1C], 0x4552494B /* 'ERIK' */
  2519. 0000191A  7001                     moveq.l    D0, 0x01
  2520. 0000191C  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2521. 0000191E  6606                     bne        +0x8 /* 00001926 */
  2522. 00001920  3368 0016 000E           move.w     [A1 + 0xE], [A0 + 0x16]
  2523. label00001926:
  2524. 00001926  DEFC 007A                add.w      A7, 0x7A /* 'z' */
  2525. label0000192A:
  2526. 0000192A  2049                     movea.l    A0, A1
  2527. 0000192C  225F                     movea.l    A1, [A7]+
  2528. 0000192E  5C4F                     addq.w     A7, 6
  2529. 00001930  3EBC EA84                move.w     [A7], 0xEA84
  2530. 00001934  4ED1                     jmp        [A1]
  2531. 00001936  7401                     moveq.l    D2, 0x01
  2532. label00001938:
  2533. 00001938  205F                     movea.l    A0, [A7]+
  2534. 0000193A  3F02                     move.w     -[A7], D2
  2535. 0000193C  2F08                     move.l     -[A7], A0
  2536. 0000193E  ADEA                     syscall    Pack3, auto_pop
  2537. 00001940  7404                     moveq.l    D2, 0x04
  2538. 00001942  4EFA FFF4                jmp        [PC - 0xC /* 00001938 */]
  2539. 00001946  343C 000A                move.w     D2, 0xA /* '\n' */
  2540. 0000194A  4EFA 0006                jmp        [PC + 0x6 /* 00001952 */]
  2541. 0000194E  343C 000C                move.w     D2, 0xC
  2542. label00001952:
  2543. 00001952  205F                     movea.l    A0, [A7]+
  2544. 00001954  3F02                     move.w     -[A7], D2
  2545. 00001956  2F08                     move.l     -[A7], A0
  2546. 00001958  ADED                     syscall    Pack6, auto_pop
  2547. 0000195A  206F 0008                movea.l    A0, [A7 + 0x8]
  2548. 0000195E  3F3C 0001                move.w     -[A7], 0x1
  2549. 00001962  A9EE                     syscall    Pack7/DecStr68K
  2550. 00001964  206F 0004                movea.l    A0, [A7 + 0x4]
  2551. 00001968  2080                     move.l     [A0], D0
  2552. 0000196A  4EFA 000E                jmp        [PC + 0xE /* 0000197A */]
  2553. 0000196E  206F 0004                movea.l    A0, [A7 + 0x4]
  2554. 00001972  202F 0008                move.l     D0, [A7 + 0x8]
  2555. 00001976  4267                     clr.w      -[A7]
  2556. 00001978  A9EE                     syscall    Pack7/DecStr68K
  2557. label0000197A:
  2558. 0000197A  205F                     movea.l    A0, [A7]+
  2559. 0000197C  504F                     addq.w     A7, 8
  2560. 0000197E  4ED0                     jmp        [A0]
  2561. 00001980  2F17                     move.l     -[A7], [A7]
  2562. 00001982  2F7C 0400 0C00 0004      move.l     [A7 + 0x4], 0x4000C00
  2563. 0000198A  4EFA 008E                jmp        [PC + 0x8E /* 00001A1A */]
  2564. 0000198E  2F17                     move.l     -[A7], [A7]
  2565. 00001990  2F7C 0800 0484 0004      move.l     [A7 + 0x4], 0x8000484
  2566. 00001998  4EFA 0080                jmp        [PC + 0x80 /* 00001A1A */]
  2567. 0000199C  2F17                     move.l     -[A7], [A7]
  2568. 0000199E  2F7C 1000 0808 0004      move.l     [A7 + 0x4], 0x10000808
  2569. 000019A6  4EFA 0072                jmp        [PC + 0x72 /* 00001A1A */]
  2570. 000019AA  2F17                     move.l     -[A7], [A7]
  2571. 000019AC  2F7C 1800 040C 0004      move.l     [A7 + 0x4], 0x1800040C
  2572. 000019B4  4EFA 0064                jmp        [PC + 0x64 /* 00001A1A */]
  2573. 000019B8  2F17                     move.l     -[A7], [A7]
  2574. 000019BA  2F7C 2004 0480 0004      move.l     [A7 + 0x4], 0x20040480
  2575. 000019C2  4EFA 0056                jmp        [PC + 0x56 /* 00001A1A */]
  2576. 000019C6  2F17                     move.l     -[A7], [A7]
  2577. 000019C8  2F7C 5204 0498 0004      move.l     [A7 + 0x4], 0x52040498
  2578. 000019D0  4EFA 0048                jmp        [PC + 0x48 /* 00001A1A */]
  2579. 000019D4  2F17                     move.l     -[A7], [A7]
  2580. 000019D6  2F7C 6005 1480 0004      move.l     [A7 + 0x4], 0x60051480
  2581. 000019DE  4EFA 003A                jmp        [PC + 0x3A /* 00001A1A */]
  2582. 000019E2  2F17                     move.l     -[A7], [A7]
  2583. 000019E4  2F7C BA00 0000 0004      move.l     [A7 + 0x4], 0xBA000000
  2584. 000019EC  4EFA 002C                jmp        [PC + 0x2C /* 00001A1A */]
  2585. 000019F0  2F17                     move.l     -[A7], [A7]
  2586. 000019F2  2F7C C000 0200 0004      move.l     [A7 + 0x4], 0xC0000200
  2587. 000019FA  4EFA 001E                jmp        [PC + 0x1E /* 00001A1A */]
  2588. 000019FE  2F17                     move.l     -[A7], [A7]
  2589. 00001A00  2F7C C800 0000 0004      move.l     [A7 + 0x4], 0xC8000000
  2590. 00001A08  4EFA 0010                jmp        [PC + 0x10 /* 00001A1A */]
  2591. 00001A0C  2F17                     move.l     -[A7], [A7]
  2592. 00001A0E  2F7C D000 0000 0004      move.l     [A7 + 0x4], 0xD0000000
  2593. 00001A16  4EFA 0002                jmp        [PC + 0x2 /* 00001A1A */]
  2594. fn00001A1A:
  2595. 00001A1A  2F0B                     move.l     -[A7], A3
  2596. 00001A1C  203C 0000 A89F           move.l     D0, 0xA89F
  2597. 00001A22  A146                     syscall    GetTrapAddress, flags=1
  2598. 00001A24  2648                     movea.l    A3, A0
  2599. 00001A26  203C 0000 A8FD           move.l     D0, 0xA8FD
  2600. 00001A2C  A146                     syscall    GetTrapAddress, flags=1
  2601. 00001A2E  B7C8                     cmpa.l     A3, A0
  2602. 00001A30  6746                     beq        +0x48 /* 00001A78 */
  2603. 00001A32  265F                     movea.l    A3, [A7]+
  2604. 00001A34  4E56 0000                link       A6, 0
  2605. 00001A38  41EE 0008                lea.l      A0, [A6 + 0x8]
  2606. 00001A3C  7007                     moveq.l    D0, 0x07
  2607. 00001A3E  C02E 0008                and.b      D0, [A6 + 0x8]
  2608. 00001A42  D02E 000A                add.b      D0, [A6 + 0xA]
  2609. 00001A46  5800                     addq.b     D0, 4
  2610. 00001A48  9EC0                     sub.w      A7, D0
  2611. 00001A4A  224F                     movea.l    A1, A7
  2612. 00001A4C  A02E                     syscall    BlockMove/BlockMoveData
  2613. 00001A4E  A8FD                     syscall    PrGlue
  2614. 00001A50  7200                     moveq.l    D1, 0x00
  2615. 00001A52  122E 000A                move.b     D1, [A6 + 0xA]
  2616. 00001A56  7007                     moveq.l    D0, 0x07
  2617. 00001A58  C02E 0008                and.b      D0, [A6 + 0x8]
  2618. 00001A5C  6710                     beq        +0x12 /* 00001A6E */
  2619. 00001A5E  204F                     movea.l    A0, A7
  2620. 00001A60  43F6 100C                lea.l      A1, [A6 + D1.w + 0xC]
  2621. 00001A64  E248                     lsr        D0.w, 1
  2622. 00001A66  6002                     bra        +0x4 /* 00001A6A */
  2623. label00001A68:
  2624. 00001A68  32DF                     move.w     [A1]+, [A7]+
  2625. label00001A6A:
  2626. 00001A6A  51C8 FFFC                dbf        D0, -0x6 /* 00001A68 */
  2627. label00001A6E:
  2628. 00001A6E  4E5E                     unlink     A6
  2629. 00001A70  205F                     movea.l    A0, [A7]+
  2630. 00001A72  DFC1                     add.l      A7, D1
  2631. 00001A74  584F                     addq.w     A7, 4
  2632. 00001A76  4ED0                     jmp        [A0]
  2633. label00001A78:
  2634. 00001A78  265F                     movea.l    A3, [A7]+
  2635. 00001A7A  4E56 0000                link       A6, 0
  2636. 00001A7E  48E7 0018                movem.l    -[A7], A3,A4
  2637. 00001A82  7200                     moveq.l    D1, 0x00
  2638. 00001A84  122E 0008                move.b     D1, [A6 + 0x8]
  2639. 00001A88  E609                     lsr        D1.b, 3
  2640. 00001A8A  6718                     beq        +0x1A /* 00001AA4 */
  2641. 00001A8C  4A2E 0008                tst.b      [A6 + 0x8]
  2642. 00001A90  6B00 00C2                bmi        +0xC4 /* 00001B54 */
  2643. 00001A94  7400                     moveq.l    D2, 0x00
  2644. 00001A96  142E 0009                move.b     D2, [A6 + 0x9]
  2645. 00001A9A  661E                     bne        +0x20 /* 00001ABA */
  2646. 00001A9C  7403                     moveq.l    D2, 0x03
  2647. 00001A9E  C438 0946                and.b      D2, [0x00000946 /* ChooserBits */]
  2648. 00001AA2  6016                     bra        +0x18 /* 00001ABA */
  2649. label00001AA4:
  2650. 00001AA4  206E 0014                movea.l    A0, [A6 + 0x14]
  2651. 00001AA8  2050                     movea.l    A0, [A0]
  2652. 00001AAA  7403                     moveq.l    D2, 0x03
  2653. 00001AAC  C428 0044                and.b      D2, [A0 + 0x44]
  2654. 00001AB0  0238 00FC 0946           andi.b     [0x00000946 /* ChooserBits */], 0xFC
  2655. 00001AB6  8538 0946                or.b       [0x00000946 /* ChooserBits */], D2
  2656. label00001ABA:
  2657. 00001ABA  3678 0A5A                movea.w    A3, [0x00000A5A /* CurMap */]
  2658. 00001ABE  42A7                     clr.l      -[A7]
  2659. 00001AC0  2F3C 5044 4546           move.l     -[A7], 0x50444546 /* 'PDEF' */
  2660. 00001AC6  3F02                     move.w     -[A7], D2
  2661. 00001AC8  A9A0                     syscall    GetResource
  2662. 00001ACA  201F                     move.l     D0, [A7]+
  2663. 00001ACC  4A80                     tst.l      D0
  2664. 00001ACE  664A                     bne        +0x4C /* 00001B1A */
  2665. 00001AD0  0C78 FFFF 0952           cmpi.w     [0x00000952 /* PrRefNum */], 0xFFFF
  2666. 00001AD6  670C                     beq        +0xE /* 00001AE4 */
  2667. 00001AD8  3F38 0952                move.w     -[A7], [0x00000952 /* PrRefNum */]
  2668. 00001ADC  A998                     syscall    UseResFile
  2669. 00001ADE  4A78 0A60                tst.w      [0x00000A60 /* ResErr */]
  2670. 00001AE2  6716                     beq        +0x18 /* 00001AFA */
  2671. label00001AE4:
  2672. 00001AE4  6100 01D0                bsr        +0x1D2 /* 00001CB6 */
  2673. 00001AE8  4A40                     tst.w      D0
  2674. 00001AEA  6708                     beq        +0xA /* 00001AF4 */
  2675. 00001AEC  31C0 0944                move.w     [0x00000944 /* PrintErr */], D0
  2676. 00001AF0  6000 00B0                bra        +0xB2 /* 00001BA2 */
  2677. label00001AF4:
  2678. 00001AF4  3F38 0952                move.w     -[A7], [0x00000952 /* PrRefNum */]
  2679. 00001AF8  A998                     syscall    UseResFile
  2680. label00001AFA:
  2681. 00001AFA  42A7                     clr.l      -[A7]
  2682. 00001AFC  2F3C 5044 4546           move.l     -[A7], 0x50444546 /* 'PDEF' */
  2683. 00001B02  3F02                     move.w     -[A7], D2
  2684. 00001B04  A9A0                     syscall    GetResource
  2685. 00001B06  201F                     move.l     D0, [A7]+
  2686. 00001B08  4A80                     tst.l      D0
  2687. 00001B0A  660E                     bne        +0x10 /* 00001B1A */
  2688. 00001B0C  3F0B                     move.w     -[A7], A3
  2689. 00001B0E  A998                     syscall    UseResFile
  2690. 00001B10  31FC FF40 0944           move.w     [0x00000944 /* PrintErr */], 0xFF40
  2691. 00001B16  6000 008A                bra        +0x8C /* 00001BA2 */
  2692. label00001B1A:
  2693. 00001B1A  2840                     movea.l    A4, D0
  2694. 00001B1C  204C                     movea.l    A0, A4
  2695. 00001B1E  A029                     syscall    HLock
  2696. 00001B20  3F0B                     move.w     -[A7], A3
  2697. 00001B22  A998                     syscall    UseResFile
  2698. 00001B24  41EE 000C                lea.l      A0, [A6 + 0xC]
  2699. 00001B28  7007                     moveq.l    D0, 0x07
  2700. 00001B2A  C02E 0008                and.b      D0, [A6 + 0x8]
  2701. 00001B2E  D02E 000A                add.b      D0, [A6 + 0xA]
  2702. 00001B32  9EC0                     sub.w      A7, D0
  2703. 00001B34  224F                     movea.l    A1, A7
  2704. 00001B36  A02E                     syscall    BlockMove/BlockMoveData
  2705. 00001B38  102E 000B                move.b     D0, [A6 + 0xB]
  2706. 00001B3C  0200 007F                andi.b     D0, 0x7F
  2707. 00001B40  2054                     movea.l    A0, [A4]
  2708. 00001B42  4EB0 0000                jsr        [A0 + D0.w]
  2709. 00001B46  102E 000B                move.b     D0, [A6 + 0xB]
  2710. 00001B4A  6A04                     bpl        +0x6 /* 00001B50 */
  2711. 00001B4C  204C                     movea.l    A0, A4
  2712. 00001B4E  A02A                     syscall    HUnlock
  2713. label00001B50:
  2714. 00001B50  6000 011A                bra        +0x11C /* 00001C6C */
  2715. label00001B54:
  2716. 00001B54  9EFC 0032                sub.w      A7, 0x32 /* '2' */
  2717. 00001B58  41FA 0194                lea.l      A0, [PC + 0x194 /* 00001CEE, value 0x62E5072, pstring ".Print" */]
  2718. 00001B5C  2F48 0012                move.l     [A7 + 0x12], A0
  2719. 00001B60  3F7C FFFD 0018           move.w     [A7 + 0x18], 0xFFFD
  2720. 00001B66  422F 001B                clr.b      [A7 + 0x1B]
  2721. 00001B6A  204F                     movea.l    A0, A7
  2722. 00001B6C  7000                     moveq.l    D0, 0x00
  2723. 00001B6E  0881 0004                bclr.b     D1, 0x4
  2724. 00001B72  D241                     add.w      D1, D1
  2725. 00001B74  323B 1006                move.w     D1, [PC + D1.w + 0x6]
  2726. 00001B78  4EFB 1002                jmp        [PC + D1.w + 0x2]
  2727. 00001B7C  0068 006C 0070           ori.w      [A0 + 0x70], 0x6C /* 'l' */
  2728. 00001B82  007A 008C 00A8           ori.w      [PC + 0xA8 /* 00001C2C, value 0x5, cstring "" */], 0x8C
  2729. 00001B88  00BA 00DA 00E4 0030      ori.l      [PC + 0x30 /* 00001BBA, value 0x66247200 'f$r\0', cstring "f$r" */], 0xDA00E4
  2730. 00001B90  0044 0020                ori.w      D4, 0x20 /* ' ' */
  2731. 00001B94  0020 0020                ori.b      -[A0], 0x20 /* ' ' */
  2732. 00001B98  0020 0020                ori.b      -[A0], 0x20 /* ' ' */
  2733. 00001B9C  31FC FFCE 0944           move.w     [0x00000944 /* PrintErr */], 0xFFCE
  2734. label00001BA2:
  2735. 00001BA2  7200                     moveq.l    D1, 0x00
  2736. 00001BA4  122E 000A                move.b     D1, [A6 + 0xA]
  2737. 00001BA8  6000 00E0                bra        +0xE2 /* 00001C8A */
  2738. 00001BAC  2F3C 8000 0000           move.l     -[A7], 0x80000000
  2739. 00001BB2  4EBA FE66                jsr        [PC - 0x19A /* 00001A1A */]
  2740. 00001BB6  3038 0944                move.w     D0, [0x00000944 /* PrintErr */]
  2741. 00001BBA  6624                     bne        +0x26 /* 00001BE0 */
  2742. 00001BBC  7200                     moveq.l    D1, 0x00
  2743. 00001BBE  6002                     bra        +0x4 /* 00001BC2 */
  2744. 00001BC0  7201                     moveq.l    D1, 0x01
  2745. label00001BC2:
  2746. 00001BC2  6100 00F2                bsr        +0xF4 /* 00001CB6 */
  2747. 00001BC6  4A40                     tst.w      D0
  2748. 00001BC8  6616                     bne        +0x18 /* 00001BE0 */
  2749. 00001BCA  3038 0952                move.w     D0, [0x00000952 /* PrRefNum */]
  2750. 00001BCE  4A78 0A60                tst.w      [0x00000A60 /* ResErr */]
  2751. 00001BD2  6608                     bne        +0xA /* 00001BDC */
  2752. 00001BD4  4A41                     tst.w      D1
  2753. 00001BD6  6704                     beq        +0x6 /* 00001BDC */
  2754. 00001BD8  3F00                     move.w     -[A7], D0
  2755. 00001BDA  A99A                     syscall    CloseResFile
  2756. label00001BDC:
  2757. 00001BDC  3038 0A60                move.w     D0, [0x00000A60 /* ResErr */]
  2758. label00001BE0:
  2759. 00001BE0  6000 0082                bra        +0x84 /* 00001C64 */
  2760. 00001BE4  A000                     syscall    Open/PBHOpen/HOpen
  2761. 00001BE6  607C                     bra        +0x7E /* 00001C64 */
  2762. 00001BE8  A001                     syscall    Close
  2763. 00001BEA  6078                     bra        +0x7A /* 00001C64 */
  2764. 00001BEC  615A                     bsr        +0x5C /* 00001C48 */
  2765. 00001BEE  DEFC 002E                add.w      A7, 0x2E /* '.' */
  2766. 00001BF2  2E88                     move.l     [A7], A0
  2767. 00001BF4  6076                     bra        +0x78 /* 00001C6C */
  2768. 00001BF6  6150                     bsr        +0x52 /* 00001C48 */
  2769. 00001BF8  2050                     movea.l    A0, [A0]
  2770. 00001BFA  7000                     moveq.l    D0, 0x00
  2771. 00001BFC  1028 0007                move.b     D0, [A0 + 0x7]
  2772. 00001C00  DEFC 0030                add.w      A7, 0x30 /* '0' */
  2773. 00001C04  3E80                     move.w     [A7], D0
  2774. 00001C06  6064                     bra        +0x66 /* 00001C6C */
  2775. 00001C08  216E 000C 0024           move.l     [A0 + 0x24], [A6 + 0xC]
  2776. 00001C0E  216E 0010 0020           move.l     [A0 + 0x20], [A6 + 0x10]
  2777. 00001C14  216E 0014 001C           move.l     [A0 + 0x1C], [A6 + 0x14]
  2778. 00001C1A  316E 0018 001A           move.w     [A0 + 0x1A], [A6 + 0x18]
  2779. 00001C20  A004                     syscall    Control
  2780. 00001C22  6040                     bra        +0x42 /* 00001C64 */
  2781. 00001C24  6122                     bsr        +0x24 /* 00001C48 */
  2782. 00001C26  2050                     movea.l    A0, [A0]
  2783. 00001C28  0828 0006 0005           btst.b     [A0 + 0x5], 0x6
  2784. 00001C2E  6734                     beq        +0x36 /* 00001C64 */
  2785. 00001C30  2050                     movea.l    A0, [A0]
  2786. 00001C32  A049                     syscall    HPurge
  2787. 00001C34  602E                     bra        +0x30 /* 00001C64 */
  2788. 00001C36  6110                     bsr        +0x12 /* 00001C48 */
  2789. 00001C38  2050                     movea.l    A0, [A0]
  2790. 00001C3A  0828 0006 0005           btst.b     [A0 + 0x5], 0x6
  2791. 00001C40  6722                     beq        +0x24 /* 00001C64 */
  2792. 00001C42  2050                     movea.l    A0, [A0]
  2793. 00001C44  A04A                     syscall    HNoPurge
  2794. 00001C46  601C                     bra        +0x1E /* 00001C64 */
  2795. fn00001C48:
  2796. 00001C48  317C 0001 001A           move.w     [A0 + 0x1A], 0x1
  2797. 00001C4E  A005                     syscall    Status
  2798. 00001C50  2068 001C                movea.l    A0, [A0 + 0x1C]
  2799. 00001C54  4E75                     rts
  2800. 00001C56  DEFC 0030                add.w      A7, 0x30 /* '0' */
  2801. 00001C5A  3EB8 0944                move.w     [A7], [0x00000944 /* PrintErr */]
  2802. 00001C5E  600C                     bra        +0xE /* 00001C6C */
  2803. 00001C60  302E 000C                move.w     D0, [A6 + 0xC]
  2804. label00001C64:
  2805. 00001C64  DEFC 0032                add.w      A7, 0x32 /* '2' */
  2806. 00001C68  31C0 0944                move.w     [0x00000944 /* PrintErr */], D0
  2807. label00001C6C:
  2808. 00001C6C  7200                     moveq.l    D1, 0x00
  2809. 00001C6E  122E 000A                move.b     D1, [A6 + 0xA]
  2810. 00001C72  7007                     moveq.l    D0, 0x07
  2811. 00001C74  C02E 0008                and.b      D0, [A6 + 0x8]
  2812. 00001C78  6710                     beq        +0x12 /* 00001C8A */
  2813. 00001C7A  204F                     movea.l    A0, A7
  2814. 00001C7C  43F6 100C                lea.l      A1, [A6 + D1.w + 0xC]
  2815. 00001C80  E248                     lsr        D0.w, 1
  2816. 00001C82  6002                     bra        +0x4 /* 00001C86 */
  2817. label00001C84:
  2818. 00001C84  32DF                     move.w     [A1]+, [A7]+
  2819. label00001C86:
  2820. 00001C86  51C8 FFFC                dbf        D0, -0x6 /* 00001C84 */
  2821. label00001C8A:
  2822. 00001C8A  4CDF 1800                movem.l    A3,A4, [A7]+
  2823. 00001C8E  4E5E                     unlink     A6
  2824. 00001C90  205F                     movea.l    A0, [A7]+
  2825. 00001C92  DFC1                     add.l      A7, D1
  2826. 00001C94  584F                     addq.w     A7, 4
  2827. 00001C96  4ED0                     jmp        [A0]
  2828. fn00001C98:
  2829. 00001C98  7000                     moveq.l    D0, 0x00
  2830. fn00001C9A:
  2831. 00001C9A  9EFC 0040                sub.w      A7, 0x40 /* '@' */
  2832. 00001C9E  204F                     movea.l    A0, A7
  2833. 00001CA0  3140 0016                move.w     [A0 + 0x16], D0
  2834. 00001CA4  42A8 0012                clr.l      [A0 + 0x12]
  2835. 00001CA8  A015                     syscall    SetVol/PBHSetVol/HSetVol
  2836. 00001CAA  A014                     syscall    GetVol/PBHGetVol/HGetVol
  2837. 00001CAC  3028 0016                move.w     D0, [A0 + 0x16]
  2838. 00001CB0  DEFC 0040                add.w      A7, 0x40 /* '@' */
  2839. 00001CB4  4E75                     rts
  2840. fn00001CB6:
  2841. 00001CB6  594F                     subq.w     A7, 4
  2842. 00001CB8  3F3C E000                move.w     -[A7], 0xE000
  2843. 00001CBC  A9BA                     syscall    GetString
  2844. 00001CBE  201F                     move.l     D0, [A7]+
  2845. 00001CC0  6606                     bne        +0x8 /* 00001CC8 */
  2846. 00001CC2  303C FF40                move.w     D0, 0xFF40
  2847. 00001CC6  6024                     bra        +0x26 /* 00001CEC */
  2848. label00001CC8:
  2849. 00001CC8  2240                     movea.l    A1, D0
  2850. 00001CCA  61CC                     bsr        -0x32 /* 00001C98 */
  2851. 00001CCC  4841                     swap.w     D1
  2852. 00001CCE  3200                     move.w     D1, D0
  2853. 00001CD0  554F                     subq.w     A7, 2
  2854. 00001CD2  2049                     movea.l    A0, A1
  2855. 00001CD4  A029                     syscall    HLock
  2856. 00001CD6  2F11                     move.l     -[A7], [A1]
  2857. 00001CD8  A997                     syscall    OpenResFile
  2858. 00001CDA  31DF 0952                move.w     [0x00000952 /* PrRefNum */], [A7]+
  2859. 00001CDE  2049                     movea.l    A0, A1
  2860. 00001CE0  A02A                     syscall    HUnlock
  2861. 00001CE2  3001                     move.w     D0, D1
  2862. 00001CE4  4841                     swap.w     D1
  2863. 00001CE6  61B2                     bsr        -0x4C /* 00001C9A */
  2864. 00001CE8  3038 0A60                move.w     D0, [0x00000A60 /* ResErr */]
  2865. label00001CEC:
  2866. 00001CEC  4E75                     rts
  2867. 00001CEE  062E 5072 696E           addi.b     [A6 + 0x696E], 0x72 /* 'r' */
  2868. 00001CF4  7420                     moveq.l    D2, 0x20
  2869. 00001CF6  225F                     movea.l    A1, [A7]+
  2870. 00001CF8  205F                     movea.l    A0, [A7]+
  2871. 00001CFA  7006                     moveq.l    D0, 0x06
  2872. 00001CFC  A06E                     syscall    SlotManager
  2873. 00001CFE  3E80                     move.w     [A7], D0
  2874. 00001D00  4ED1                     jmp        [A1]
  2875. 00001D02  225F                     movea.l    A1, [A7]+
  2876. 00001D04  205F                     movea.l    A0, [A7]+
  2877. 00001D06  7007                     moveq.l    D0, 0x07
  2878. 00001D08  A06E                     syscall    SlotManager
  2879. 00001D0A  3E80                     move.w     [A7], D0
  2880. 00001D0C  4ED1                     jmp        [A1]
  2881. 00001D0E  225F                     movea.l    A1, [A7]+
  2882. 00001D10  205F                     movea.l    A0, [A7]+
  2883. 00001D12  7015                     moveq.l    D0, 0x15
  2884. 00001D14  A06E                     syscall    SlotManager
  2885. 00001D16  3E80                     move.w     [A7], D0
  2886. 00001D18  4ED1                     jmp        [A1]
  2887. 00001D1A  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  2888. 00001D1E  6B1C                     bmi        +0x1E /* 00001D3C */
  2889. 00001D20  303C A89F                move.w     D0, 0xA89F
  2890. 00001D24  A346                     syscall    GetOSTrapAddress, flags=3
  2891. 00001D26  2248                     movea.l    A1, A0
  2892. 00001D28  303C A055                move.w     D0, 0xA055
  2893. 00001D2C  A346                     syscall    GetOSTrapAddress, flags=3
  2894. 00001D2E  B3C8                     cmpa.l     A1, A0
  2895. 00001D30  670A                     beq        +0xC /* 00001D3C */
  2896. 00001D32  225F                     movea.l    A1, [A7]+
  2897. 00001D34  201F                     move.l     D0, [A7]+
  2898. 00001D36  A055                     syscall    StripAddress
  2899. 00001D38  2E80                     move.l     [A7], D0
  2900. 00001D3A  4ED1                     jmp        [A1]
  2901. label00001D3C:
  2902. 00001D3C  225F                     movea.l    A1, [A7]+
  2903. 00001D3E  201F                     move.l     D0, [A7]+
  2904. 00001D40  C0B8 031A                and.l      D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
  2905. 00001D44  2E80                     move.l     [A7], D0
  2906. 00001D46  4ED1                     jmp        [A1]
  2907. 00001D48  4E56 FFF4                link       A6, -0x000C
  2908. 00001D4C  486E FFF4                pea.l      [A6 - 0xC]
  2909. 00001D50  3F3C 0017                move.w     -[A7], 0x17
  2910. 00001D54  A9EB                     syscall    Pack4/FP68K
  2911. 00001D56  3F3C 6000                move.w     -[A7], 0x6000 /* '`\0' */
  2912. 00001D5A  4857                     pea.l      [A7]
  2913. 00001D5C  3F3C 0001                move.w     -[A7], 0x1
  2914. 00001D60  A9EB                     syscall    Pack4/FP68K
  2915. 00001D62  548F                     addq.l     A7, 2
  2916. 00001D64  41EE FFF6                lea.l      A0, [A6 - 0xA]
  2917. 00001D68  226E 0008                movea.l    A1, [A6 + 0x8]
  2918. 00001D6C  20D9                     move.l     [A0]+, [A1]+
  2919. 00001D6E  20D9                     move.l     [A0]+, [A1]+
  2920. 00001D70  3091                     move.w     [A0], [A1]
  2921. 00001D72  5188                     subq.l     A0, 8
  2922. 00001D74  43EE 000C                lea.l      A1, [A6 + 0xC]
  2923. 00001D78  613E                     bsr        +0x40 /* 00001DB8 */
  2924. 00001D7A  3F3C 0004                move.w     -[A7], 0x4
  2925. 00001D7E  4857                     pea.l      [A7]
  2926. 00001D80  3F3C 001B                move.w     -[A7], 0x1B
  2927. 00001D84  A9EB                     syscall    Pack4/FP68K
  2928. 00001D86  101F                     move.b     D0, [A7]+
  2929. 00001D88  671C                     beq        +0x1E /* 00001DA6 */
  2930. 00001D8A  7200                     moveq.l    D1, 0x00
  2931. 00001D8C  0890 0007                bclr.b     [A0], 0x7
  2932. 00001D90  6704                     beq        +0x6 /* 00001D96 */
  2933. 00001D92  123C 0080                move.b     D1, 0x80
  2934. label00001D96:
  2935. 00001D96  487A 002C                pea.l      [PC + 0x2C /* 00001DC4, value 0x3F000000 '?\0\0\0', cstring "?" */]
  2936. 00001D9A  4850                     pea.l      [A0]
  2937. 00001D9C  3F3C 1000                move.w     -[A7], 0x1000
  2938. 00001DA0  A9EB                     syscall    Pack4/FP68K
  2939. 00001DA2  8310                     or.b       [A0], D1
  2940. 00001DA4  6112                     bsr        +0x14 /* 00001DB8 */
  2941. label00001DA6:
  2942. 00001DA6  486E FFF4                pea.l      [A6 - 0xC]
  2943. 00001DAA  3F3C 0019                move.w     -[A7], 0x19
  2944. 00001DAE  A9EB                     syscall    Pack4/FP68K
  2945. 00001DB0  4E5E                     unlink     A6
  2946. 00001DB2  205F                     movea.l    A0, [A7]+
  2947. 00001DB4  584F                     addq.w     A7, 4
  2948. 00001DB6  4ED0                     jmp        [A0]
  2949. fn00001DB8:
  2950. 00001DB8  4850                     pea.l      [A0]
  2951. 00001DBA  4851                     pea.l      [A1]
  2952. 00001DBC  3F3C 2810                move.w     -[A7], 0x2810
  2953. 00001DC0  A9EB                     syscall    Pack4/FP68K
  2954. 00001DC2  4E75                     rts
  2955. 00001DC4  3F00                     move.w     -[A7], D0
  2956. 00001DC6  0000 2F00                ori.b      D0, 0x0
  2957. 00001DCA  2F01                     move.l     -[A7], D1
  2958. 00001DCC  302F 0010                move.w     D0, [A7 + 0x10]
  2959. 00001DD0  C1EF 000E                muls.w     D0, [A7 + 0xE]
  2960. 00001DD4  322F 000C                move.w     D1, [A7 + 0xC]
  2961. 00001DD8  C3EF 0012                muls.w     D1, [A7 + 0x12]
  2962. 00001DDC  D041                     add.w      D0, D1
  2963. 00001DDE  4840                     swap.w     D0
  2964. 00001DE0  4240                     clr.w      D0
  2965. 00001DE2  322F 0012                move.w     D1, [A7 + 0x12]
  2966. 00001DE6  C2EF 000E                mulu.w     D1, [A7 + 0xE]
  2967. 00001DEA  D081                     add.l      D0, D1
  2968. 00001DEC  2F40 0010                move.l     [A7 + 0x10], D0
  2969. 00001DF0  221F                     move.l     D1, [A7]+
  2970. 00001DF2  201F                     move.l     D0, [A7]+
  2971. 00001DF4  2F57 0004                move.l     [A7 + 0x4], [A7]
  2972. 00001DF8  588F                     addq.l     A7, 4
  2973. 00001DFA  4E75                     rts
  2974. 00001DFC  4E56 0000                link       A6, 0
  2975. 00001E00  2F00                     move.l     -[A7], D0
  2976. 00001E02  2F01                     move.l     -[A7], D1
  2977. 00001E04  202F 0014                move.l     D0, [A7 + 0x14]
  2978. 00001E08  222F 0010                move.l     D1, [A7 + 0x10]
  2979. 00001E0C  4EBA 003A                jsr        [PC + 0x3A /* 00001E48 */]
  2980. 00001E10  2F41 0014                move.l     [A7 + 0x14], D1
  2981. 00001E14  221F                     move.l     D1, [A7]+
  2982. 00001E16  201F                     move.l     D0, [A7]+
  2983. 00001E18  4E5E                     unlink     A6
  2984. 00001E1A  2F57 0004                move.l     [A7 + 0x4], [A7]
  2985. 00001E1E  588F                     addq.l     A7, 4
  2986. 00001E20  4E75                     rts
  2987. 00001E22  4E56 0000                link       A6, 0
  2988. 00001E26  2F00                     move.l     -[A7], D0
  2989. 00001E28  2F01                     move.l     -[A7], D1
  2990. 00001E2A  202F 0014                move.l     D0, [A7 + 0x14]
  2991. 00001E2E  222F 0010                move.l     D1, [A7 + 0x10]
  2992. 00001E32  4EBA 0014                jsr        [PC + 0x14 /* 00001E48 */]
  2993. 00001E36  2F40 0014                move.l     [A7 + 0x14], D0
  2994. 00001E3A  221F                     move.l     D1, [A7]+
  2995. 00001E3C  201F                     move.l     D0, [A7]+
  2996. 00001E3E  4E5E                     unlink     A6
  2997. 00001E40  2F57 0004                move.l     [A7 + 0x4], [A7]
  2998. 00001E44  588F                     addq.l     A7, 4
  2999. 00001E46  4E75                     rts
  3000. fn00001E48:
  3001. 00001E48  48E7 3E00                movem.l    -[A7], D2,D3,D4,D5,D6
  3002. 00001E4C  2A00                     move.l     D5, D0
  3003. 00001E4E  6A02                     bpl        +0x4 /* 00001E52 */
  3004. 00001E50  4480                     neg.l      D0
  3005. label00001E52:
  3006. 00001E52  2C01                     move.l     D6, D1
  3007. 00001E54  6A02                     bpl        +0x4 /* 00001E58 */
  3008. 00001E56  4481                     neg.l      D1
  3009. label00001E58:
  3010. 00001E58  2401                     move.l     D2, D1
  3011. 00001E5A  4842                     swap.w     D2
  3012. 00001E5C  4A42                     tst.w      D2
  3013. 00001E5E  661C                     bne        +0x1E /* 00001E7C */
  3014. 00001E60  3600                     move.w     D3, D0
  3015. 00001E62  4240                     clr.w      D0
  3016. 00001E64  4840                     swap.w     D0
  3017. 00001E66  6704                     beq        +0x6 /* 00001E6C */
  3018. 00001E68  80C1                     divu.w     D0, D1
  3019. 00001E6A  3400                     move.w     D2, D0
  3020. label00001E6C:
  3021. 00001E6C  4842                     swap.w     D2
  3022. 00001E6E  3003                     move.w     D0, D3
  3023. 00001E70  80C1                     divu.w     D0, D1
  3024. 00001E72  3400                     move.w     D2, D0
  3025. 00001E74  2202                     move.l     D1, D2
  3026. 00001E76  4240                     clr.w      D0
  3027. 00001E78  4840                     swap.w     D0
  3028. 00001E7A  6022                     bra        +0x24 /* 00001E9E */
  3029. label00001E7C:
  3030. 00001E7C  2400                     move.l     D2, D0
  3031. 00001E7E  4240                     clr.w      D0
  3032. 00001E80  4840                     swap.w     D0
  3033. 00001E82  4842                     swap.w     D2
  3034. 00001E84  4242                     clr.w      D2
  3035. 00001E86  2601                     move.l     D3, D1
  3036. 00001E88  7200                     moveq.l    D1, 0x00
  3037. 00001E8A  780F                     moveq.l    D4, 0x0F
  3038. label00001E8C:
  3039. 00001E8C  D482                     add.l      D2, D2
  3040. 00001E8E  D180                     addx.l     D0, D0
  3041. 00001E90  D281                     add.l      D1, D1
  3042. 00001E92  B083                     cmp.l      D0, D3
  3043. 00001E94  6D04                     blt        +0x6 /* 00001E9A */
  3044. 00001E96  9083                     sub.l      D0, D3
  3045. 00001E98  5201                     addq.b     D1, 1
  3046. label00001E9A:
  3047. 00001E9A  51CC FFF0                dbf        D4, -0x12 /* 00001E8C */
  3048. label00001E9E:
  3049. 00001E9E  4A85                     tst.l      D5
  3050. 00001EA0  6A02                     bpl        +0x4 /* 00001EA4 */
  3051. 00001EA2  4480                     neg.l      D0
  3052. label00001EA4:
  3053. 00001EA4  BB86                     xor.l      D6, D5
  3054. 00001EA6  6A02                     bpl        +0x4 /* 00001EAA */
  3055. 00001EA8  4481                     neg.l      D1
  3056. label00001EAA:
  3057. 00001EAA  4CDF 007C                movem.l    D2,D3,D4,D5,D6, [A7]+
  3058. 00001EAE  4E75                     rts
  3059. 00001EB0  48E7 F8E0                movem.l    -[A7], D0,D1,D2,D3,D4,A0,A1,A2
  3060. 00001EB4  41EF 0024                lea.l      A0, [A7 + 0x24]
  3061. 00001EB8  3010                     move.w     D0, [A0]
  3062. 00001EBA  4250                     clr.w      [A0]
  3063. 00001EBC  3200                     move.w     D1, D0
  3064. 00001EBE  E849                     lsr        D1.w, 4
  3065. 00001EC0  3401                     move.w     D2, D1
  3066. 00001EC2  5242                     addq.w     D2, 1
  3067. 00001EC4  3602                     move.w     D3, D2
  3068. 00001EC6  E34B                     lsl        D3.w, 1
  3069. 00001EC8  224F                     movea.l    A1, A7
  3070. 00001ECA  9EC3                     sub.w      A7, D3
  3071. 00001ECC  244F                     movea.l    A2, A7
  3072. 00001ECE  383C 0012                move.w     D4, 0x12
  3073. label00001ED2:
  3074. 00001ED2  34D9                     move.w     [A2]+, [A1]+
  3075. 00001ED4  5344                     subq.w     D4, 1
  3076. 00001ED6  66FA                     bne        -0x4 /* 00001ED2 */
  3077. 00001ED8  204A                     movea.l    A0, A2
  3078. label00001EDA:
  3079. 00001EDA  425A                     clr.w      [A2]+
  3080. 00001EDC  5342                     subq.w     D2, 1
  3081. 00001EDE  66FA                     bne        -0x4 /* 00001EDA */
  3082. 00001EE0  30C3                     move.w     [A0]+, D3
  3083. 00001EE2  4242                     clr.w      D2
  3084. 00001EE4  0240 000F                andi.w     D0, 0xF
  3085. 00001EE8  01C2                     .incomplete
  3086. 00001EEA  3082                     move.w     [A0], D2
  3087. 00001EEC  4CDF 071F                movem.l    D0,D1,D2,D3,D4,A0,A1,A2, [A7]+
  3088. 00001EF0  4E75                     rts
  3089. 00001EF2  42A7                     clr.l      -[A7]
  3090. 00001EF4  48E7 F0C0                movem.l    -[A7], D0,D1,D2,D3,A0,A1
  3091. 00001EF8  41EF 0020                lea.l      A0, [A7 + 0x20]
  3092. 00001EFC  3018                     move.w     D0, [A0]+
  3093. 00001EFE  D0C0                     add.w      A0, D0
  3094. 00001F00  2248                     movea.l    A1, A0
  3095. 00001F02  3219                     move.w     D1, [A1]+
  3096. 00001F04  D2C1                     add.w      A1, D1
  3097. 00001F06  3600                     move.w     D3, D0
  3098. 00001F08  B240                     cmp.w      D1, D0
  3099. 00001F0A  6C02                     bge        +0x4 /* 00001F0E */
  3100. 00001F0C  3601                     move.w     D3, D1
  3101. label00001F0E:
  3102. 00001F0E  E24B                     lsr        D3.w, 1
  3103. 00001F10  6004                     bra        +0x6 /* 00001F16 */
  3104. label00001F12:
  3105. 00001F12  3420                     move.w     D2, -[A0]
  3106. 00001F14  8561                     or.w       -[A1], D2
  3107. label00001F16:
  3108. 00001F16  5343                     subq.w     D3, 1
  3109. 00001F18  6AF8                     bpl        -0x6 /* 00001F12 */
  3110. 00001F1A  9041                     sub.w      D0, D1
  3111. 00001F1C  6710                     beq        +0x12 /* 00001F2E */
  3112. 00001F1E  6D0C                     blt        +0xE /* 00001F2C */
  3113. 00001F20  D240                     add.w      D1, D0
  3114. 00001F22  E248                     lsr        D0.w, 1
  3115. label00001F24:
  3116. 00001F24  3320                     move.w     -[A1], -[A0]
  3117. 00001F26  5340                     subq.w     D0, 1
  3118. 00001F28  6EFA                     bgt        -0x4 /* 00001F24 */
  3119. 00001F2A  6002                     bra        +0x4 /* 00001F2E */
  3120. label00001F2C:
  3121. 00001F2C  D2C0                     add.w      A1, D0
  3122. label00001F2E:
  3123. 00001F2E  3301                     move.w     -[A1], D1
  3124. 00001F30  206F 001C                movea.l    A0, [A7 + 0x1C]
  3125. 00001F34  2308                     move.l     -[A1], A0
  3126. 00001F36  2F49 0018                move.l     [A7 + 0x18], A1
  3127. 00001F3A  4CDF 030F                movem.l    D0,D1,D2,D3,A0,A1, [A7]+
  3128. 00001F3E  2E5F                     movea.l    A7, [A7]+
  3129. 00001F40  4E75                     rts
  3130. 00001F42  42A7                     clr.l      -[A7]
  3131. 00001F44  48E7 F0C0                movem.l    -[A7], D0,D1,D2,D3,A0,A1
  3132. 00001F48  41EF 0020                lea.l      A0, [A7 + 0x20]
  3133. 00001F4C  3018                     move.w     D0, [A0]+
  3134. 00001F4E  D0C0                     add.w      A0, D0
  3135. 00001F50  2248                     movea.l    A1, A0
  3136. 00001F52  3219                     move.w     D1, [A1]+
  3137. 00001F54  D2C1                     add.w      A1, D1
  3138. 00001F56  3600                     move.w     D3, D0
  3139. 00001F58  B240                     cmp.w      D1, D0
  3140. 00001F5A  6C02                     bge        +0x4 /* 00001F5E */
  3141. 00001F5C  3601                     move.w     D3, D1
  3142. label00001F5E:
  3143. 00001F5E  E24B                     lsr        D3.w, 1
  3144. 00001F60  6006                     bra        +0x8 /* 00001F68 */
  3145. label00001F62:
  3146. 00001F62  3420                     move.w     D2, -[A0]
  3147. 00001F64  4642                     not.w      D2
  3148. 00001F66  C561                     and.w      -[A1], D2
  3149. label00001F68:
  3150. 00001F68  5343                     subq.w     D3, 1
  3151. 00001F6A  6AF6                     bpl        -0x8 /* 00001F62 */
  3152. 00001F6C  9041                     sub.w      D0, D1
  3153. 00001F6E  6E02                     bgt        +0x4 /* 00001F72 */
  3154. 00001F70  D2C0                     add.w      A1, D0
  3155. label00001F72:
  3156. 00001F72  3301                     move.w     -[A1], D1
  3157. 00001F74  206F 001C                movea.l    A0, [A7 + 0x1C]
  3158. 00001F78  2308                     move.l     -[A1], A0
  3159. 00001F7A  2F49 0018                move.l     [A7 + 0x18], A1
  3160. 00001F7E  4CDF 030F                movem.l    D0,D1,D2,D3,A0,A1, [A7]+
  3161. 00001F82  2E5F                     movea.l    A7, [A7]+
  3162. 00001F84  4E75                     rts
  3163. 00001F86  9EFC 0100                sub.w      A7, 0x100
  3164. 00001F8A  48E7 C0C0                movem.l    -[A7], D0,D1,A0,A1
  3165. 00001F8E  302F 0114                move.w     D0, [A7 + 0x114]
  3166. 00001F92  322F 0116                move.w     D1, [A7 + 0x116]
  3167. 00001F96  41EF 0118                lea.l      A0, [A7 + 0x118]
  3168. 00001F9A  226F 0110                movea.l    A1, [A7 + 0x110]
  3169. 00001F9E  9240                     sub.w      D1, D0
  3170. 00001FA0  6C08                     bge        +0xA /* 00001FAA */
  3171. label00001FA2:
  3172. 00001FA2  4260                     clr.w      -[A0]
  3173. 00001FA4  5441                     addq.w     D1, 2
  3174. 00001FA6  6BFA                     bmi        -0x4 /* 00001FA2 */
  3175. 00001FA8  6002                     bra        +0x4 /* 00001FAC */
  3176. label00001FAA:
  3177. 00001FAA  D0C1                     add.w      A0, D1
  3178. label00001FAC:
  3179. 00001FAC  2109                     move.l     -[A0], A1
  3180. 00001FAE  2F48 0010                move.l     [A7 + 0x10], A0
  3181. 00001FB2  4CDF 0303                movem.l    D0,D1,A0,A1, [A7]+
  3182. 00001FB6  2E5F                     movea.l    A7, [A7]+
  3183. 00001FB8  4E75                     rts
  3184. 00001FBA  48E7 E0F0                movem.l    -[A7], D0,D1,D2,A0,A1,A2,A3
  3185. 00001FBE  206F 0020                movea.l    A0, [A7 + 0x20]
  3186. 00001FC2  4240                     clr.w      D0
  3187. 00001FC4  1018                     move.b     D0, [A0]+
  3188. 00001FC6  226F 0024                movea.l    A1, [A7 + 0x24]
  3189. 00001FCA  4242                     clr.w      D2
  3190. 00001FCC  1419                     move.b     D2, [A1]+
  3191. 00001FCE  9042                     sub.w      D0, D2
  3192. 00001FD0  6C04                     bge        +0x6 /* 00001FD6 */
  3193. 00001FD2  4241                     clr.w      D1
  3194. 00001FD4  6020                     bra        +0x22 /* 00001FF6 */
  3195. label00001FD6:
  3196. 00001FD6  5342                     subq.w     D2, 1
  3197. label00001FD8:
  3198. 00001FD8  2448                     movea.l    A2, A0
  3199. 00001FDA  2649                     movea.l    A3, A1
  3200. 00001FDC  3202                     move.w     D1, D2
  3201. label00001FDE:
  3202. 00001FDE  B50B                     cmpm.b     [A2]+, [A3]+
  3203. 00001FE0  56C9 FFFC                dbne       D1, -0x6 /* 00001FDE */
  3204. 00001FE4  670A                     beq        +0xC /* 00001FF0 */
  3205. 00001FE6  5288                     addq.l     A0, 1
  3206. 00001FE8  51C8 FFEE                dbf        D0, -0x14 /* 00001FD8 */
  3207. 00001FEC  4241                     clr.w      D1
  3208. 00001FEE  6006                     bra        +0x8 /* 00001FF6 */
  3209. label00001FF0:
  3210. 00001FF0  2208                     move.l     D1, A0
  3211. 00001FF2  92AF 0020                sub.l      D1, [A7 + 0x20]
  3212. label00001FF6:
  3213. 00001FF6  3F41 0026                move.w     [A7 + 0x26], D1
  3214. 00001FFA  4CDF 0F07                movem.l    D0,D1,D2,A0,A1,A2,A3, [A7]+
  3215. 00001FFE  2F57 0006                move.l     [A7 + 0x6], [A7]
  3216. 00002002  5C4F                     addq.w     A7, 6
  3217. 00002004  4E75                     rts
  3218. 00002006  48E7 E0E0                movem.l    -[A7], D0,D1,D2,A0,A1,A2
  3219. 0000200A  43EF 001C                lea.l      A1, [A7 + 0x1C]
  3220. 0000200E  3019                     move.w     D0, [A1]+
  3221. 00002010  2059                     movea.l    A0, [A1]+
  3222. 00002012  3400                     move.w     D2, D0
  3223. 00002014  D442                     add.w      D2, D2
  3224. 00002016  D442                     add.w      D2, D2
  3225. 00002018  D2C2                     add.w      A1, D2
  3226. 0000201A  4241                     clr.w      D1
  3227. 0000201C  5248                     addq.w     A0, 1
  3228. 0000201E  6020                     bra        +0x22 /* 00002040 */
  3229. label00002020:
  3230. 00002020  2461                     movea.l    A2, -[A1]
  3231. 00002022  4242                     clr.w      D2
  3232. 00002024  141A                     move.b     D2, [A2]+
  3233. 00002026  D242                     add.w      D1, D2
  3234. 00002028  0C41 00FF                cmpi.w     D1, 0xFF
  3235. 0000202C  6F0E                     ble        +0x10 /* 0000203C */
  3236. 0000202E  0441 00FF                subi.w     D1, 0xFF
  3237. 00002032  9441                     sub.w      D2, D1
  3238. 00002034  323C 00FF                move.w     D1, 0xFF
  3239. 00002038  6002                     bra        +0x4 /* 0000203C */
  3240. label0000203A:
  3241. 0000203A  10DA                     move.b     [A0]+, [A2]+
  3242. label0000203C:
  3243. 0000203C  51CA FFFC                dbf        D2, -0x6 /* 0000203A */
  3244. label00002040:
  3245. 00002040  51C8 FFDE                dbf        D0, -0x24 /* 00002020 */
  3246. 00002044  2061                     movea.l    A0, -[A1]
  3247. 00002046  1081                     move.b     [A0], D1
  3248. 00002048  3021                     move.w     D0, -[A1]
  3249. 0000204A  2049                     movea.l    A0, A1
  3250. 0000204C  D040                     add.w      D0, D0
  3251. 0000204E  D040                     add.w      D0, D0
  3252. 00002050  D0C0                     add.w      A0, D0
  3253. 00002052  5448                     addq.w     A0, 2
  3254. 00002054  20A1                     move.l     [A0], -[A1]
  3255. 00002056  2288                     move.l     [A1], A0
  3256. 00002058  4CDF 0707                movem.l    D0,D1,D2,A0,A1,A2, [A7]+
  3257. 0000205C  2E5F                     movea.l    A7, [A7]+
  3258. 0000205E  4E75                     rts
  3259. 00002060  48E7 E0C0                movem.l    -[A7], D0,D1,D2,A0,A1
  3260. 00002064  43EF 0018                lea.l      A1, [A7 + 0x18]
  3261. 00002068  2059                     movea.l    A0, [A1]+
  3262. 0000206A  3019                     move.w     D0, [A1]+
  3263. 0000206C  6F36                     ble        +0x38 /* 000020A4 */
  3264. 0000206E  0C40 00FF                cmpi.w     D0, 0xFF
  3265. 00002072  6E30                     bgt        +0x32 /* 000020A4 */
  3266. 00002074  3219                     move.w     D1, [A1]+
  3267. 00002076  6F2C                     ble        +0x2E /* 000020A4 */
  3268. 00002078  0C41 00FF                cmpi.w     D1, 0xFF
  3269. 0000207C  6E26                     bgt        +0x28 /* 000020A4 */
  3270. 0000207E  5341                     subq.w     D1, 1
  3271. 00002080  2251                     movea.l    A1, [A1]
  3272. 00002082  4242                     clr.w      D2
  3273. 00002084  1419                     move.b     D2, [A1]+
  3274. 00002086  9441                     sub.w      D2, D1
  3275. 00002088  9440                     sub.w      D2, D0
  3276. 0000208A  6D18                     blt        +0x1A /* 000020A4 */
  3277. 0000208C  D2C1                     add.w      A1, D1
  3278. 0000208E  10C0                     move.b     [A0]+, D0
  3279. 00002090  5340                     subq.w     D0, 1
  3280. label00002092:
  3281. 00002092  10D9                     move.b     [A0]+, [A1]+
  3282. 00002094  51C8 FFFC                dbf        D0, -0x6 /* 00002092 */
  3283. label00002098:
  3284. 00002098  4CDF 0307                movem.l    D0,D1,D2,A0,A1, [A7]+
  3285. 0000209C  2F5F 0008                move.l     [A7 + 0x8], [A7]+
  3286. 000020A0  504F                     addq.w     A7, 8
  3287. 000020A2  4E75                     rts
  3288. label000020A4:
  3289. 000020A4  4210                     clr.b      [A0]
  3290. 000020A6  60F0                     bra        -0xE /* 00002098 */
  3291. 000020A8  225F                     movea.l    A1, [A7]+
  3292. 000020AA  301F                     move.w     D0, [A7]+
  3293. 000020AC  321F                     move.w     D1, [A7]+
  3294. 000020AE  205F                     movea.l    A0, [A7]+
  3295. 000020B0  6F0C                     ble        +0xE /* 000020BE */
  3296. 000020B2  4A40                     tst.w      D0
  3297. 000020B4  6F08                     ble        +0xA /* 000020BE */
  3298. 000020B6  4242                     clr.w      D2
  3299. 000020B8  1410                     move.b     D2, [A0]
  3300. 000020BA  B441                     cmp.w      D2, D1
  3301. 000020BC  6C02                     bge        +0x4 /* 000020C0 */
  3302. label000020BE:
  3303. 000020BE  4ED1                     jmp        [A1]
  3304. label000020C0:
  3305. 000020C0  9441                     sub.w      D2, D1
  3306. 000020C2  9440                     sub.w      D2, D0
  3307. 000020C4  6C06                     bge        +0x8 /* 000020CC */
  3308. 000020C6  5341                     subq.w     D1, 1
  3309. 000020C8  1081                     move.b     [A0], D1
  3310. 000020CA  4ED1                     jmp        [A1]
  3311. label000020CC:
  3312. 000020CC  2F09                     move.l     -[A7], A1
  3313. 000020CE  9110                     sub.b      [A0], D0
  3314. 000020D0  D0C1                     add.w      A0, D1
  3315. 000020D2  2248                     movea.l    A1, A0
  3316. 000020D4  D2C0                     add.w      A1, D0
  3317. label000020D6:
  3318. 000020D6  10D9                     move.b     [A0]+, [A1]+
  3319. 000020D8  51CA FFFC                dbf        D2, -0x6 /* 000020D6 */
  3320. 000020DC  4E75                     rts
  3321. 000020DE  221F                     move.l     D1, [A7]+
  3322. 000020E0  301F                     move.w     D0, [A7]+
  3323. 000020E2  225F                     movea.l    A1, [A7]+
  3324. 000020E4  205F                     movea.l    A0, [A7]+
  3325. 000020E6  5340                     subq.w     D0, 1
  3326. 000020E8  6D08                     blt        +0xA /* 000020F2 */
  3327. 000020EA  4242                     clr.w      D2
  3328. 000020EC  1411                     move.b     D2, [A1]
  3329. 000020EE  B440                     cmp.w      D2, D0
  3330. 000020F0  6C04                     bge        +0x6 /* 000020F6 */
  3331. label000020F2:
  3332. 000020F2  2041                     movea.l    A0, D1
  3333. 000020F4  4ED0                     jmp        [A0]
  3334. label000020F6:
  3335. 000020F6  2F01                     move.l     -[A7], D1
  3336. 000020F8  2F0A                     move.l     -[A7], A2
  3337. 000020FA  3F03                     move.w     -[A7], D3
  3338. 000020FC  4241                     clr.w      D1
  3339. 000020FE  1218                     move.b     D1, [A0]+
  3340. 00002100  3601                     move.w     D3, D1
  3341. 00002102  D642                     add.w      D3, D2
  3342. 00002104  12C3                     move.b     [A1]+, D3
  3343. 00002106  2449                     movea.l    A2, A1
  3344. 00002108  D4C3                     add.w      A2, D3
  3345. 0000210A  D2C2                     add.w      A1, D2
  3346. 0000210C  9440                     sub.w      D2, D0
  3347. 0000210E  6002                     bra        +0x4 /* 00002112 */
  3348. label00002110:
  3349. 00002110  1521                     move.b     -[A2], -[A1]
  3350. label00002112:
  3351. 00002112  51CA FFFC                dbf        D2, -0x6 /* 00002110 */
  3352. 00002116  6002                     bra        +0x4 /* 0000211A */
  3353. label00002118:
  3354. 00002118  12D8                     move.b     [A1]+, [A0]+
  3355. label0000211A:
  3356. 0000211A  51C9 FFFC                dbf        D1, -0x6 /* 00002118 */
  3357. 0000211E  361F                     move.w     D3, [A7]+
  3358. 00002120  245F                     movea.l    A2, [A7]+
  3359. 00002122  4E75                     rts
  3360. 00002124  48E7 C0C0                movem.l    -[A7], D0,D1,A0,A1
  3361. 00002128  7201                     moveq.l    D1, 0x01
  3362. 0000212A  6006                     bra        +0x8 /* 00002132 */
  3363. 0000212C  48E7 C0C0                movem.l    -[A7], D0,D1,A0,A1
  3364. 00002130  4241                     clr.w      D1
  3365. label00002132:
  3366. 00002132  206F 0018                movea.l    A0, [A7 + 0x18]
  3367. 00002136  226F 0014                movea.l    A1, [A7 + 0x14]
  3368. 0000213A  4240                     clr.w      D0
  3369. 0000213C  1010                     move.b     D0, [A0]
  3370. label0000213E:
  3371. 0000213E  B308                     cmpm.b     [A1]+, [A0]+
  3372. 00002140  56C8 FFFC                dbne       D0, -0x6 /* 0000213E */
  3373. 00002144  6604                     bne        +0x6 /* 0000214A */
  3374. 00002146  0A41 0001                xori.w     D1, 0x1
  3375. label0000214A:
  3376. 0000214A  1F41 001A                move.b     [A7 + 0x1A], D1
  3377. 0000214E  2F6F 0010 0016           move.l     [A7 + 0x16], [A7 + 0x10]
  3378. 00002154  4CDF 0303                movem.l    D0,D1,A0,A1, [A7]+
  3379. 00002158  5C4F                     addq.w     A7, 6
  3380. 0000215A  4E75                     rts
  3381. 0000215C  0000 11FE                ori.b      D0, 0xFE
  3382. 00002160  0000 0000                ori.b      D0, 0x0
  3383. 00002164  0000 0000                ori.b      D0, 0x0
  3384. 00002168  0000 2160                ori.b      D0, 0x60 /* '`' */
  3385. 0000216C  2541 3569                move.l     [A2 + 0x3569], D1
  3386.